File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
graal-js/src/com.oracle.truffle.js.test/js Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2022, 2022, Oracle and/or its affiliates. All rights reserved.
3+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4+ *
5+ * Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
6+ */
7+
8+ var s2 = "" ;
9+ var a0 = [ ] ;
10+ var a1 = [ ] ;
11+ var a2 = [ ] ;
12+ var a3 = [ ] ;
13+ var a4 = [ ] ;
14+ var o1 = { } ;
15+ for ( let i = 0 ; i < 5 ; i ++ ) {
16+ Array . prototype . shift . apply ( a1 ) ;
17+ a1 . splice ( NaN , - 2044533922.5 , a0 , s2 ) ;
18+ }
19+ for ( let i = 0 ; i < 5 ; i ++ ) {
20+ Array . prototype . shift . apply ( a2 ) ;
21+ a2 . splice ( NaN , - 2044533922.5 , 3 , 4 ) ;
22+ }
23+ for ( let i = 0 ; i < 5 ; i ++ ) {
24+ Array . prototype . shift . apply ( a3 ) ;
25+ a3 . splice ( NaN , - 2044533922.5 , 3.1 , 4.15 ) ;
26+ }
27+ for ( let i = 0 ; i < 5 ; i ++ ) {
28+ Array . prototype . shift . apply ( a4 ) ;
29+ a4 . splice ( NaN , - 2044533922.5 , o1 , o1 ) ;
30+ }
You can’t perform that action at this time.
0 commit comments