Skip to content
Uma expressão de função de seta (também conhecida como Arrow Function) tem uma sintaxe mais curta em comparação com expressões de função e lexically se liga a este valor
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
README.md
bower.json
gulpfile.js
lambda.js
package.json
script.txt

README.md

$lambda

Uma expressão de função de seta (também conhecida como Arrow Function) tem uma sintaxe mais curta em comparação com expressões de função e lexically se liga a este valor

this.Ninja(['$lambda'], function ($lambda) {
  console.log($lambda('(a, b) => a + b')('hello ', 'cleber.programmer'));
});
Something went wrong with that request. Please try again.