do not use for in statements on arrays in JS