Variable In String Typescript Vs Javascript