DarshanФотография
1. obviously
2. arr[1.5] is treated as referring to the key named "1.5" in the arr array%?
3. Now you set the value of this key(1.5) as that string%?
*everything in javascript is an object. If you ,check typeof arr. it will show as Object.
All the time. Array is simply an object with some special property such as integer based keys and some more interest stuff.
4. As you can see by console logging, it shows up as 1.5 : 'adarsh'
5. Same point as described in 2,3. It returns the "1.5" key of the arr array(or rather object)