This is a classic example of Arrays inside an array.
If you want to display the entire array 002,"John",700000 then take an index of that array from the outer array.
e.g.
<html>
<body>
<p id="demo"></p>
<script>
var myarr = new Array([001,"Ravi",800000],[002,"John",700000],[003,"Vishal","500000"],[004,"Michel",600000],[005,"Stella",700000]);
//This will display your entire second array.
document.getElementById("demo").innerHTML = myarr[1];
</script>
</body>
</html>
If you want a lookup to try key-value data structure in which your id will be key and the entire object will be value.
e.g.
var obj = {key1: value1, key2: value2};