Array Object Find Javascript Method Syntax Python For Loop