1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/tests/test262/ch10/10.2/10.2.3/S10.2.3_A1.3_T4.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +// Copyright 2009 the Sputnik authors. All rights reserved. 1.5 +// This code is governed by the BSD license found in the LICENSE file. 1.6 + 1.7 +/** 1.8 + * Global object has properties such as built-in objects such as 1.9 + * Math, String, Date, parseInt, etc 1.10 + * 1.11 + * @path ch10/10.2/10.2.3/S10.2.3_A1.3_T4.js 1.12 + * @description Eval execution context - Other Properties 1.13 + */ 1.14 + 1.15 +var evalStr = 1.16 +'//CHECK#27\n'+ 1.17 +'if ( Math === null ) {\n'+ 1.18 +' $ERROR("#27: Math === null");\n'+ 1.19 +'}\n'+ 1.20 +';\n'; 1.21 + 1.22 +eval(evalStr); 1.23 +