This method allows you to get all symbol properties of a given object as an array of symbols.
'use strict';
let obj = {};
let a = Symbol('a');
let b = Symbol.for('b');
| let test = ["Nikola", "Aleksandra", "Andreja", "Luka"] | |
| let name1, name2, name3, name4; | |
| [name1, name2, name3, name4] = [...test] | |
| console.log(name4) // Luka | |
| const result = test.reduce((x,y) => x + y, "") |
| # How to do a rebase the Bill way | |
| git fetch | |
| git rebase -p origin/branch_you_branched_off_of | |
| # initial push to remote off of locally created branch | |
| git push --set-upstream origin feature-11076 | |
| # command for returning latest tag information | |
| git describe --abbrev=0 --tags |
| These steps are for installing all the necessary development tools for a fresh and clean installation of OS X El Capitan on a mac. | |
| 1) Install Slack from the App Store | |
| 2) Install screenhero (at this point in time you need to have a pre-existing account in order for it to be free) | |
| 3) Install Google Chrome for mac | |
| 4) Install Firefox for mac | |
| 5) place the git-completion.bash file in your home directory | |
| 6) place the git-prommpt.sh file in your home directory | |
| 7) place the bash_profile.txt file in your home directory and rename it .bash_profile | |
| 8) install sublime text editor 2 | |
| 9) install xcode from the App Store |
This method allows you to get all symbol properties of a given object as an array of symbols.
'use strict';
let obj = {};
let a = Symbol('a');
let b = Symbol.for('b');