Skip to Content
JavaScript and Ajax for the Web, Sixth Edition: Visual QuickStart Guide
book

JavaScript and Ajax for the Web, Sixth Edition: Visual QuickStart Guide

by Tom Negrino, Dori Smith
August 2006
Beginner
512 pages
11h 8m
English
Peachpit Press
Content preview from JavaScript and Ajax for the Web, Sixth Edition: Visual QuickStart Guide

Appendix B. JavaScript Reserved Words

Reserved words are words that have special meaning to JavaScript. Therefore, they cannot be used as variable or function names.

You’ll recognize many of the reserved words from previous chapters, but others will be unfamiliar. Some of the latter group are future reserved words; i.e., it’s expected that they’ll be commands in future versions of JavaScript. They’re being set aside now so that you won’t have to revise your code when new revisions are released.

JavaScript reserved words:

These words are part of the JavaScript language as of ECMAScript version 3.

break

for

throw

case

function

try

catch

if

typeof

continue

in

var

default

instanceof

void

delete

new

while

do

return

with

else

switch

 

finally

this

 

Additional words reserved for ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

You might also like

Javascript for the World Wide Web: Visual Quickstart Guide, Fifth Edition

Javascript for the World Wide Web: Visual Quickstart Guide, Fifth Edition

Tom Negrino, Dori Smith

Publisher Resources

ISBN: 0321430328Purchase book