I hereby claim:
- I am jarbaspsf on github.
- I am jarbaspsf (https://keybase.io/jarbaspsf) on keybase.
- I have a public key ASDXF1vflAFBBItt5gR_zOn7GDBKaGLBET6SJxwaTf7PJgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
let exibirResultado = (resultado) => console.log(`O Resultado da soma é: ${resultado}`); | |
let soma = (a, b, callback) => { | |
let resultado = a = b; | |
if(callback){ | |
callback(resultado); | |
} | |
} | |
soma(14, 16, exibirResultado) |
let soma = (a, b) => a + b; | |
soma(1,5) | |
//6 |
let profissionais = [ | |
{nome: "João", salario: 5000, idade: 27}, | |
{nome: "Lucas", salario: 7000, idade: 37}, | |
{nome: "Pedro", salario: 5500, idade: 35}, | |
{nome: "Thiago", salario: 4500, idade: 24}, | |
{nome: "Felipe", salario: 4500, idade: 23}, | |
{nome: "Alexandre", salario: 4000, idade: 20}, | |
] | |
let somaSalariosAte30Anos = profissionais |
let numeros = [1,2,3,4] | |
let soma = numeros.reduce((valorAnterior, valorAtual) => valorAnterior + valorAtual, 30); |
let numeros = [1,2,3,4] | |
let soma = numeros.reduce((valorAnterior, valorAtual) => valorAnterior + valorAtual); |
let numeros = [9,16,25,36,49]; | |
let numerosRaiz = numeros.map(n => Math.sqrt(n)) |
let numeros = [1,2,3,4,5,6,7,8,9,10]; | |
let pares = numeros.filter(n => n%2 == 0) |
//Eventos recebendo objeto | |
var gSonServerEvent0 = function() { | |
websocketClient.subscribe("/topic/atividades", function(message) { | |
var run = function(data) { | |
return gs.mc($("#teste"),"append",[gs.plus((gs.plus("<p>", data)), "</p>")]); | |
}; | |
run(gs.toGroovy(jQuery.parseJSON(message.body), null)); | |
}); | |
}; |
BETHEA, Cooper. EXPERIENCES DEPLOYING MONGODB ON AWS. Disponí- | |
vel em: <http://www.mongodb.com/presentations/experiences-deploying-mongodb-aws>. | |
Acesso em: 17 de fevereiro de 2015. | |
COLEMAN, Tom. GREIF, Sasha. DISCOVER METEOR: Building Real-Time | |
JavaScript Web Apps. Disponível em: <https://book.discovermeteor.com/> Acesso em: | |
15 de março de 2015. | |
DEBERGALIS, Matt . Introducing DDP. Disponível em: <https://www.meteor. | |
com/blog/2012/03/21/introducing-ddp>. Acesso em: 15 de fevereiro de 2015. |