Copy edits (#35536)

* Copy edits to Basic JavaScript section

* Copy edits to ES6 section

* Update index.md
This commit is contained in:
Amy Lam
2019-03-29 09:36:58 -07:00
committed by The Coding Aviator
parent 768b618e68
commit 914a7c522d
24 changed files with 39 additions and 39 deletions

View File

@@ -31,7 +31,7 @@ _You need to freeze the `MATH_CONSTANTS` object so that no one is able to alter
try {
MATH_CONSTANTS.PI = 99;
} catch( ex ) {
} catch(ex) {
console.log(ex);
}
return MATH_CONSTANTS.PI;