Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/undefined/15.1.1.3-3.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 es5id: 15.1.1.3-3
6 es6id: 18.1.3
7 esid: sec-undefined
8 description: >
9 undefined is not writable, simple assignment should return the
10 rval value (11.13.1-6)
11 flags: [noStrict]
12 ---*/
13
14 var newProperty = undefined = 42;
15
16 assert.sameValue(newProperty, 42, 'newProperty');