const myName: string = 'Robert';
      
      Typescript language logo

      String variable

      0

      9

      avatar
      Giovanny Gongora
      Codiga's TypeScript Recipes

      Just like JavaScript, TypeScript also uses double quotes (β€œ) or single quotes (β€˜) to surround string data.

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.