11.13.1-1-6-s.js (488B)
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 info: PutValue operates only on references (see step 3.a). 6 es5id: 11.13.1-1-6-s 7 description: > 8 simple assignment throws ReferenceError if LeftHandSide is an 9 unresolvable reference (base obj undefined) 10 ---*/ 11 12 13 assert.throws(ReferenceError, function() { 14 __ES3_1_test_suite_test_11_13_1_unique_id_0__.x = 42; 15 }); 16 17 reportCompare(0, 0);