git config --global user.name "petchvm"
git config --global user.email "111462541+petchvm@users.noreply.github.com"
git config --global core.editor "code --wait"
git config --global init.defaultbranch "main"
git config --global pull.rebase false
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
| // Array madness | |
| [] + [] // "" (empty string!) | |
| [] + {} // "[object Object]" | |
| {} + [] // 0 (wat) | |
| {} + {} // NaN (double wat) | |
| // The plus operator doing strange things | |
| [] + null + 1 // "null1" | |
| [] + +[] // "0" | |
| +!+[] // 1 |