Skip to content

Instantly share code, notes, and snippets.

Created September 16, 2015 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/02e4e7f61c87bf83b3d0 to your computer and use it in GitHub Desktop.
Save anonymous/02e4e7f61c87bf83b3d0 to your computer and use it in GitHub Desktop.
object graph

hello markdown

<!DOCTYPE html>
<head>
<meta charset="utf-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"></script>
</head>
<body>
<script>
o = {x:10,y:function(){},z:{},a:true,b:""}
Object.getOwnPropertyNames(o).forEach(function(e) {
console.log(typeof o[e])
})
</script>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment