interface.js (588B)
1 // Copyright 2011 the Sputnik authors. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 esid: sec-identifiers-static-semantics-early-errors 6 info: | 7 The "interface" token can be used as identifier in 8 non-strict code 9 es5id: 7.6.1.2_A1.18ns 10 description: > 11 Checking if execution of "interface = 1" succeeds in non-strict 12 code 13 flags: [noStrict] 14 ---*/ 15 16 var interface = 1; 17 var int\u0065rface = 2; 18 19 { let interface = 3; } 20 { let int\u0065rface = 4; } 21 22 { const interface = 5; } 23 { const int\u0065rface = 6; } 24 25 reportCompare(0, 0);