// Array :- It is collection more the single value inside an variable
// lastOndexOf():- this method is same as the indexOf but only the difference is that it will the index of the last element present in the array
const arr1=[2.5,6,7,"t",6,9];
console.log(arr1.lastIndexOf(6));