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
[1,2,3,4] |
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
const Twitter = require('twitter-lite') | |
const twitter = new Twitter({ | |
consumer_key: process.env.CONSUMER_KEY, | |
consumer_secret: process.env.CONSUMER_SECRET, | |
access_token_key: process.env.ACCESS_TOKEN_KEY, | |
access_token_secret: process.env.ACCESS_TOKEN_SECRET | |
}) | |
const SOURCE_USER = process.env.SOURCE_USER |
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
const ingredientes = [ | |
{ nome: 'Gin', sabor: 8, quantidade: 5 }, | |
{ nome: 'Vermouth', sabor: 7, quantidade: 4 }, | |
{ nome: 'Sugar', sabor: 5, quantidade: 3 }, | |
{ nome: 'Lemon', sabor: 3, quantidade: 2 }, | |
]; | |
const maxQuantidade = 8; | |
function calcQuantidade (ingredientes) { |
OlderNewer