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
| git fetch -p && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D |
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
| /* Todas as funções async do js retornam sempre Promises. As Promises podem retornar algo | |
| * ou não. Se você retornar uma string em um método async, será retornada uma Promise que | |
| * resolve em uma string. | |
| */ | |
| /* Só é possível usar a palavra await dentro de funções assincronas. */ | |
| const axios = require('axios'); | |
| const api = 'https://swapi.dev/api/'; |
OlderNewer