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 ...

Get CoffeeScript in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.