Menu
i can not seem to understand how do i count this form backward given the start value?
do i count from the number specified to the begining?
or do i count from the end till the starting point?
`var str = “Hello planet earth, you are a great planet.”;
var n = str.lastIndexOf(“planet”, 20);
document.getElementById(“demo”).innerHTML = n;