test262/test/language/future-reserved-words/S7.6.1.2_A1.18.js

13 lines
377 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: The "interface" token can not be used as identifier in strict code
es5id: 7.6.1.2_A1.18
description: Checking if execution of "interface = 1" fails in strict code
negative: SyntaxError
flags: [onlyStrict]
---*/
var interface = 1;