daily pastebin goal
7%
SHARE
TWEET

Untitled

a guest Jan 21st, 2018 51 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top