Debian Codegraph @

js/src/tests/test262/language/directive-prologue/func-expr-runtime.js

raw
1 // Copyright (c) 2012 Ecma International. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: use-strict-directive
6 es5id: 10.1.1-22-s
7 description: >
8 Strict Mode - Function code of a FunctionExpression contains Use
9 Strict Directive which appears at the start of the block
10 flags: [noStrict]
11 ---*/
12
13 assert.throws(ReferenceError, function () {
14 "use strict";
15
16 test262unresolvable = null;
17 });
18
19 reportCompare(0, 0);