Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (myArray.length > 0) {
- if (myArray[0].person.name.length > 0) {
- if ('postalCode' in myArray[0].person.address) {
- // ... do something with myArray[0]
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement