var Map = [];
Map.length = 50;
try {
var A = Map[j + 100];
var B = Map[j + 10];
} catch(e) {
throw e;
}
var myArr = [1, 2, 3];
myArr.get = function (index) {
if (index > this.length - 1) {
throw new RangeError();
} else {
return this[index];
}
}