Merge pull request #78 from silvaesouza/fix-day02-ascii-number

Fix day 02 ascii number
pull/89/head
Asabeneh 5 years ago committed by GitHub
commit 69a857c019
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -610,7 +610,7 @@ string.charCodeAt(index)
```js
let string = '30 Days Of JavaScript'
console.log(string.charCodeAt(3)) // D ASCII number is 51
console.log(string.charCodeAt(3)) // D ASCII number is 68
let lastIndex = string.length - 1
console.log(string.charCodeAt(lastIndex)) // t ASCII is 116

Loading…
Cancel
Save