Last active
March 4, 2019 06:01
-
-
Save behnamazimi/2891fed34de074f65fd47f1443caf716 to your computer and use it in GitHub Desktop.
ES6 Assignment Clean Code
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
// Dirty Code | |
const a = Obj1.a | |
const b = Obj1.b | |
const c = Obj1.c | |
//Clean Code | |
const {a,b,c} = Obj1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment