??? ??(?? ?? ?? ??) adj. ???, ?? ???? ?? ?
vi. ???, ?? ??? ??
3?? ??: lasts ?? ??: lasting ?? ??: lasted ?? ??: lasted
indexEnglish[???ndeks] US[???n?d?ks]
n.index;<number>index;indication;sign
vt.edit... index...; [???] ????(??, ?? ?)? ?? ??
vi.[??] ?? 3?? ??: indexes ???: indexes ???? : ??? ?? ??: indexed
ofEnglish [?v] US [?v]
prep. , ??] =[????? ???? ??]
?????? lastIndexOf() ??? ???
??: ??? ??? ?? ????? ???? ??? ????, ???? ??? ???? ??? ??? ?????.
??: ??stringObject.lastIndexOf(searchvalue,fromindex)
????: searchvalue ?????. ??? ??? ?? ?????. fromindex ??? ?? ???????. ??? ??? ???? ??? ???????. ??? ?? 0?? stringObject.length - 1???. ? ????? ???? ???? ??? ???? ??? ?????.?
??: stringObject? fromindex ?? ?? ???? ?? ?? ????? ???? ???? ??? ???????.
??: ? ???? stringObject ???? ??? ??? ???? ?? ??? ?? ?? ???? ??? ?????. ?? ?? ??? ???? fromindex ?? ???? ?(fromindex? ???? ?? ??)???. ???? ???? stringObject?? ???? ? ?? ?? ??? ?????. stringObject? ?? ??? 0?? ?????.
??: lastIndexOf() ???? ????? ?????! ??? ??? ?? ???? ??? ???? -1? ?????.
?????? lastIndexOf() ??? ?
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <script type="text/javascript"> var str="Hello world!" document.write(str.lastIndexOf("Hello") + "<br />") document.write(str.lastIndexOf("World") + "<br />") document.write(str.lastIndexOf("world")) </script> </body> </html>
???? ?? ?
??? ????? ??? "???? ??" ??? ?????