S12.5_A2.js (413B)
1 // Copyright 2009 the Sputnik authors. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 info: In the "if" Statement eval in Expression is admitted 6 es5id: 12.5_A2 7 description: Checking by using eval "eval("true")" 8 ---*/ 9 10 if (eval("true")) { 11 } else { 12 throw new Test262Error('#1: In the "if" Statement eval as Expression is admitted'); 13 } 14 15 reportCompare(0, 0);