daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest Jan 20th, 2019 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let apeach = {
  2.   heart: 'pink',
  3.   bodyColor: 'White',
  4.   borderColor: 'Black'
  5. }
  6.  
  7. ({heart, ...color}) = apeach;
  8.  
  9. //heart: "pink"
  10. //color: {bodyColor: "White", borderColor: "Black"}
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