var myArray = [];
console.dir(myArray);
Returns __proto__
not prototype:
console.dir(Array);
Return both prototype and __proto__
but but opposite than above.
- In first case:
__proto__
has concat, constructor, etc. - In second case:
prototype
has concat, constructor, etc.
So, why is this returning different results?