7.3-6.js (466B)
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: 7.3-6 6 description: > 7 7.3 - ES5 recognizes the character <PS> (\u2029) as terminating 8 string literal 9 ---*/ 10 11 var prop = "66\u2029123"; 12 13 assert.sameValue(prop, "66\u2029123", 'prop'); 14 assert.sameValue(prop[2], "\u2029", 'prop[2]'); 15 assert.sameValue(prop.length, 6, 'prop.length'); 16 17 reportCompare(0, 0);