O'Reilly logo

CoffeeScript in Action by Patrick Lee

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A. Reserved words

The CoffeeScript compiler maintains a list of reserved words that will break compilation if you use them as variable names in a program.

For CoffeeScript 1.6.3 the reserved words list appears in table A.1.

Table A.1. CoffeeScript compiler 1.6.3 reserved words
case
default
function
var
void
with
const
let
enum
export
import
native
__hasProp
__extends
__slice
__bind
__indexOf
implements
interface
package
private
protected
public
static
yield
true
false
null
this
new
delete
typeof
in
arguments
eval
instanceof
return
throw
break
continue
debugger
if
else
switch
for
while
do
try
catch
finally
class
extends
super
undefined
then
unless
until
loop
of
by
when
and
or
is
isnt
not
yes
no
on
off

Some of the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required