nashorn/test/script/basic/strings.js.EXPECTED
author hannesw
Thu, 11 Apr 2013 12:16:39 +0200
changeset 16943 a1b9b7970813
parent 16147 e63b63819133
permissions -rw-r--r--
8011980: Allow NUL character in character class Reviewed-by: sundar, lagergren
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     1
10
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     2
fromCharCode.length = 1
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     3
ABCD
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     4
concat.length = 1
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
javascript is great!
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     6
slice.length = 2
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     7
 world
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     8
orl
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     9
substring.length = 2
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    10
java
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    11
script
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    12
script
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    13
toLowerCase.length = 0
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    14
java
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    15
java
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    16
toUpperCase.length = 0
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    17
JAVASCRIPT
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    18
JAVASCRIPT
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    19
localeCompare.length = 1
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    20
-1
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    21
0
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    22
trim.length = 0
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    23
java
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    24
java
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    25
2
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    26
3
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    27
true
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    28
true
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    29
false
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    30
false
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    31
h
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    32
l
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    33
undefined
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    34
true
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    35
false
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    36
true
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    37
false