test/script/basic/JDK-8015349.js.EXPECTED

Wed, 05 Sep 2018 01:21:35 -0700

author
diazhou
date
Wed, 05 Sep 2018 01:21:35 -0700
changeset 2374
037913b52507
parent 0
b1a7da25b547
permissions
-rw-r--r--

Added tag jdk8u192-b09 for changeset 456c0d45c43b

     1 'abc'.lastIndexOf('a', 4) = 0
     2 'abc'.lastIndexOf('b', Infinity) = 1
     3 'abc'.lastIndexOf('a', -1) = 0
     4 'abc'.lastIndexOf('a', -Infinity) = 0
     5 'oracle'.lastIndexOf('u') = -1
     6 'hello'.lastIndexOf('l') = 3
     7 'hello'.lastIndexOf('l', 2) = 2
     8 'hello'.lastIndexOf('l', 3) = 3
     9 'hello'.lastIndexOf('l', 1) = -1

mercurial