Last active
June 18, 2023 01:15
-
-
Save kassiogluten/6fb64532e1d2942a2dc8570181daf0cd to your computer and use it in GitHub Desktop.
anotacoes
This file contains 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
// Verificar ambiente | |
{process.env.NODE_ENV === "development"} | |
// Limpar CPF CNPJ PHONE (deixa apenas números) | |
.replace(/\D/g, "") | |
// axios params | |
axios.get('https://www.example.com/search', { | |
params: { | |
q: 'axios', | |
page: 2 | |
} | |
}) |
This file contains 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
teste segundo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment