not-defined.js (322B)
1 // Copyright (C) 2015 the V8 project authors. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 /*--- 4 es6id: 12.2.5 5 description: > 6 Throws when IdentifierReference is undefined 7 ---*/ 8 9 assert.throws(ReferenceError, function() { 10 var o = {notDefined}; 11 }); 12 13 reportCompare(0, 0);