Permalink
Browse files

Update list of reserved words in JavaScript. Fixes #301.

All of these are only considered reserved when in strict mode, but it is in any case a more correct list than the current one. See #295 for further discussion on how to present this list.
  • Loading branch information...
1 parent dbdb2c8 commit 9efaf074ee24b35e66be76fa0b3e8872cad90e1b @alimony alimony committed with ajpiano Mar 5, 2013
Showing with 7 additions and 18 deletions.
  1. +7 −18 page/javascript-101/reserved-words.md
@@ -2,64 +2,53 @@
title: Reserved Words
level: beginner
source: http://jqfundamentals.com/legacy
-attribution:
+attribution:
- jQuery Fundamentals
---
-JavaScript has a number of reserved words, or words that have special meaning in the language. You should avoid using these words in your code except when using them with their intended meaning.
+JavaScript has a number of "reserved words," or words that have special meaning in the language. You should avoid using these words in your code except when using them with their intended meaning.
-- abstract
-- boolean
- break
-- byte
- case
- catch
-- char
- class
- const
- continue
- debugger
- default
- delete
- do
-- double
- else
- enum
- export
- extends
-- final
+- false
- finally
-- float
- for
- function
-- goto
- if
- implements
- import
- in
- instanceof
-- int
- interface
-- long
-- native
+- let
- new
+- null
- package
- private
- protected
- public
- return
-- short
- static
- super
- switch
-- synchronized
- this
- throw
-- throws
-- transient
+- true
- try
- typeof
- var
- void
-- volatile
- while
- with
+- yield

0 comments on commit 9efaf07

Please sign in to comment.