index.js
function randomNode (g) {
  var keys = Object.keys(g)
  return keys[~~(keys.length*Math.random())]
}
function randomNode (g) {
  var keys = Object.keys(g)
  return keys[~~(keys.length*Math.random())]
}
function randomNode ( g ) { var keys = Object . keys ( g ) return keys [ ~ ~ ( keys . length * Math . random ( ) ) ] }
get a random node
get a random node