quote:
Originally posted by Spunky
quote:
Originally posted by Eljay
How was y defined? for..in loops The in keyword is for Objects, not Arrays.
Arrays are Objects
Well yeah, but the in keyword returns true because of all the built-in Array functions. Try using:
js code:
if(y.hasOwnProperty(strip(x[0]))
???