Typescript Variable In String Javascript Example Functions