Skip to content

Instantly share code, notes, and snippets.

@hpneo
Created June 7, 2012 02:43
Show Gist options
  • Save hpneo/2886225 to your computer and use it in GitHub Desktop.
Save hpneo/2886225 to your computer and use it in GitHub Desktop.
Get list of attributes and methods
var map = new GMaps();
for(i in map){
if(typeof(map[i])=='object' && map[i]){
console.log(i+': '+map[i].constructor.name);
}
else{
console.log(i+': '+typeof(map[i]));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment