summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/ch12/12.5/S12.5_A2.js
blob: c953c29cdc35955a3edbba205e09795cd87ee0ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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');