Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 21st, 2018
77
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
hopcroft:beer8(updates) scotttaylor$ node
> var obj = { foo: 'bar' }
> obj
{ foo: 'bar' }
> var clone = Object.create(obj)
> clone
{}
> clone.foo
'bar'
> clone.__proto__
{ foo: 'bar' }
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
Rust | 12 min ago | 2.35 KB
Untitled
Java | 16 min ago | 1.15 KB
Untitled
JavaScript | 38 min ago | 0.08 KB
ResourceGatheringRPG Player Controller Script
GDScript | 39 min ago | 1.22 KB
Untitled
JavaScript | 53 min ago | 0.58 KB
Untitled
JavaScript | 58 min ago | 0.58 KB
data879
JSON | 1 hour ago | 0.64 KB
Untitled
C++ | 1 hour ago | 1.25 KB
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
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!