I want to read 3rd element from the last of an array into a variable, how can we do that in Javascript?
arr[arr.length - 3] gives you the third element from last present in an array
arr[arr.length - 3]