I can't see what I'm doing wrong...push not working and returns nothing
import {nearbyUsers, getLatitude, getLongitude} from './helper'
const users = []
nearbyUsers(session, getLatitude(), getLongitude()).then(res => {
users.push(res)
console.log(users.lenght) //this works fine
})
console.log(users.lenght) //this prints 0