// capitalize first character of a string
      const capitalize = (string) => {
        return string.charAt(0).toUpperCase() + string.slice(1);
      };
      
      Javascript language logo

      Capitialize string

      JS Snippets

      Capitalize a string

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.