| Command | Keybinding | Mac Keyboard |
|---|---|---|
| add line comment | ctrl + K and C | ⌘K and C |
| copy line down | shift + alt + ↓ | ⇧⌘↓ |
| copy line up | shift + alt + ↑ | ⇧⌘↑ |
| format document | shift + alt + F | ⇧⌥F |
| go finish line | ctrl + → | ⌘→ |
| go start line | ctrl + ← | ⌘← |
| go finish word | alt + → | ⌥→ |
| go start word | alt + ← | ⌥← |
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
| // ################################################################### | |
| // Arrow function | |
| function sumar(num1, num2) { | |
| return num1 + num2; | |
| } | |
| const sumar = (num1, num2) => num1 + num2; |