nashorn/test/script/basic/arrays.js.EXPECTED
author hannesw
Fri, 03 May 2013 22:48:53 +0200
changeset 17521 0522325da5ef
parent 16147 e63b63819133
permissions -rw-r--r--
8013873: Regexp regression for escaped dash in character class Reviewed-by: jlaskey

3
isArray.length = 1
false
true
join.length = 1
javascript<->is<->great
every.length = 1
4,56,5 every even? = false
4,56,688 every even? = true
some.length = 1
4,56,5 some even? = true
3,5,17 some even? = false
forEach.length = 1
java,javascript,jython,jruby[0] is java
java,javascript,jython,jruby[1] is javascript
java,javascript,jython,jruby[2] is jython
java,javascript,jython,jruby[3] is jruby
JAVA,JAVASCRIPT,JYTHON,JRUBY
shifted is java, remaining is javascript,jython,jruby, length is 3
java,javascript
115
120
c++ java javascript objective c
hello world from javascript
indexOf.length = 1
indexOf('java') = 0
indexOf('javascript') = 1
indexOf('javascript', 3) = -1
indexOf('c++') = -1
[].indexOf('any') = -1
lastIndexOf.length = 1
lastIndexOf('java') = 4
lastIndexOf('jython') = 5
lastIndexOf('c') = 6
lastIndexOf('c++') = -1
[].lastIndexOf('any') = -1
concat.length = 1
foo,bar,x,y,34,sss,3,4,2
Array.length = 1
NaN,NaN,NaN
3
1
number
1

hello,world
,,,,
undefined
[object java.lang.Object]

33