Skip to content
Snippets Groups Projects
Commit 9d3bab70 authored by Mark Miller's avatar Mark Miller
Browse files
Hg: Enter commit message.  Lines beginning with 'HG:' are removed.
parent d378bd6d
No related branches found
No related tags found
No related merge requests found
......@@ -123,8 +123,6 @@
<test id="S15.5.4.10_A1_T3">https://bugs.ecmascript.org/show_bug.cgi?id=23</test>
<test id="S12.6.4_A14_T1">https://bugs.ecmascript.org/show_bug.cgi?id=25</test>
<test id="S15.5.4.8_A1_T11">https://bugs.ecmascript.org/show_bug.cgi?id=30</test>
<test id="S7.8.4_A6.4_T1">https://bugs.ecmascript.org/show_bug.cgi?id=58</test>
......
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S12.6.4_A14_T1;
* @section: 12.6.4;
* @assertion: FunctionExpession within a "for-in" Expression is allowed;
* @description: Using "function __func(){return 0;}" as Expession;
*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
for(x in function __func(){return 0;}){
if (x=="prototype")
var __reached = 1;
};
//
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//CHECK#2
if (__reached !== 1) {
$ERROR('#2: function expession inside of for-in expression is allowed');
}
//
//////////////////////////////////////////////////////////////////////////////
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment