Created
March 24, 2018 21:23
-
-
Save r37r0m0d3l/66dadb38791be8082b0df6bd1352b979 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let {_internal, tooBig, ...cleanObject} = {el1: '1', _internal:"secret", tooBig:{}, el2: '2', el3: '3'}; | |
| console.log(cleanObject); // {el1: '1', el2: '2', el3: '3'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment