view test/script/basic/JDK-8015349.js.EXPECTED @ 1434:4d320336c48c default tip

Added tag jdk9-b83 for changeset 21b86b980a5f
author lana
date Fri, 25 Sep 2015 22:59:35 -0700
parents a2e2797392b3
children
line wrap: on
line source

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