I'm new with Prototype, but I use jQuery always. I have a site where I need to use jQuery as well as Prototype. I am having problems with the following code:
var x = [];
console.log(x);
for (var l in x)
{
console.log(l);
}
Running this code, x contains the following:
each eachSlice all any collect detect findAll select grep include member inGroupsOf inject invoke max min partition pluck reject sortBy toArray entries zip size inspect find _reverse _each clear first last compact flatten without uniq intersect clone
Expected Result (without Prototype):
There are no child objects
Any reason why Prototype does this, and how to stop it?!
Thanks