Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var o = { test: 'asdfasdf' }
- > undefined
- $.extend({}, o, { test: null })
- > {test: null}
- $.extend({}, o, { test: undefined })
- > {test: "asdfasdf"}
- Object.assign({}, o, { test: null })
- > {test: null}
- Object.assign({}, o, { test: undefined })
- > {test: undefined}
Add Comment
Please, Sign In to add comment