JavaScript: lastIndexOf() method ~> Array