Horje
Checking if the first letter of the string is uppercase Code Example
Checking if the first letter of the string is uppercase
   if (this.state.name[0] >= 'A' && this.state.name[0] <= 'Z')
      this.setState({ name: "First letter is uppercase" })
    else
      this.setState({ name: "First letter is NOT uppercase" })
  }




Javascript

Related
js object to c# object Code Example js object to c# object Code Example
Create calculator calling different operators with functions in javascript Code Example Create calculator calling different operators with functions in javascript Code Example
html import javascript Code Example html import javascript Code Example
self excuting arrow function Code Example self excuting arrow function Code Example
sweetalert jquery Code Example sweetalert jquery Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8