Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

get the character code in a string

const sentence = 'Hello, World!';

const index = 0;

console.log(`The character code ${sentence.charCodeAt(index)} is equal to ${sentence.charAt(index)}`);
Comment

PREVIOUS NEXT
Code Example
Javascript :: Store input values in array javascript 
Javascript :: JavaScript delete atray item 
Javascript :: JOLT split flat object into key/value array 
Javascript :: express and jade, ignore render errors 
Javascript :: Special Chars like DOTS in Express.js route 
Javascript :: upload node js 
Javascript :: get copied text javascript 
Javascript :: open 2 links with one click html jquery 
Javascript :: javascript encriment +1 
Javascript :: javascript get elemet last of array 
Javascript :: slow down an action or event 
Javascript :: queryselector undefined not working in react js 
Javascript :: phaser reverse matrix rows 
Javascript :: convert json date to java date 
Javascript :: javascript find prime numbers 
Javascript :: A Nodule Module For ExpressJS 
Javascript :: Second Simplest Promise Example 
Javascript :: how do i block or restrict special characters from input fields with jquery 
Javascript :: cubing timer 
Javascript :: An Array Of Functions With Parameter 
Javascript :: prisma is and isNot 
Javascript :: react readmore 
Javascript :: How to Loop Through an Array with a do…while Loop in JavaScript 
Javascript :: adding number upto n , adding number, fastest number addding 
Javascript :: climbing stairs 
Javascript :: xor two hex strings js 
Javascript :: javascript number reverse 
Javascript :: or js 
Javascript :: .reverse javascript string 
Javascript :: find all the prime numbers in the array 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =