Typescript Test For String Javascript Program