test262/test/language/future-reserved-words/throws.js

13 lines
360 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-future-reserved-words
es5id: 7.6.1.2_A1.29
description: Checking if execution of "throws=1" succeeds
info: |
`throws` was removed from the list of future reserved words in ECMAScript 5.
---*/
var throws = 1;