Typescript Last Character Javascript Tutorial Javatpoint