mirror of
https://github.com/tc39/test262.git
synced 2025-08-28 13:28:38 +02:00
14 lines
385 B
JavaScript
14 lines
385 B
JavaScript
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/**
|
|
* In the "if" Statement eval in Expression is admitted
|
|
*
|
|
* @path ch12/12.5/S12.5_A2.js
|
|
* @description Checking by using eval "eval("true")"
|
|
* @negative
|
|
*/
|
|
|
|
if (eval("true")) $FAIL('#1: In the "if" Statement eval as Expression is admitted');
|
|
|