If you try the above code it'll return true for 0 as 0 is key for 10. but it'll return false for 2 as there are only two keys in the array. 0 and 1.
確定! 回上一頁