1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
3 File Name: lexical-017.js
4 Corresponds To: 7.4.3-10-n.js
8 The following words are used as keywords in proposed extensions and are
9 therefore reserved to allow for the possibility of future adoption of
12 FutureReservedWord :: one of
13 case debugger export super
14 catch default extends switch
15 class do finally throw
18 Author: christine@netscape.com
19 Date: 12 november 1997
21 var SECTION = "lexical-017";
22 var VERSION = "JS1_4";
23 var TITLE = "Future Reserved Words";
26 writeHeaderToLog( SECTION + " "+ TITLE);
28 var result = "Failed";
29 var exception = "No exception thrown";
30 var expect = "Passed";
36 exception = e.toString();
42 " (threw " + exception +")",