daily pastebin goal
81%
SHARE
TWEET

Untitled

a guest Jan 21st, 2018 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. hopcroft:beer8(updates) scotttaylor$ node
  2. > var obj = { foo: 'bar' }
  3. > obj
  4. { foo: 'bar' }
  5. > var clone = Object.create(obj)
  6. > clone
  7. {}
  8. > clone.foo
  9. 'bar'
  10. > clone.__proto__
  11. { foo: 'bar' }
RAW Paste Data
Top