Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (var i = 0; i < results.length; i++) {
- var baseObject = new Object();
- var resultsObject = results[i];
- baseObject.id = resultsObject.id;
- baseObject.name = resultsObject.get("name");
- baseObject.city = resultsObject.get("city");
- baseObject.state = resultsObject.get("state");
- baseObject.location = resultsObject.get("location");
- bases.push(baseObject);
- }
- baseObject.location = resultsObject.get("location");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement