Pergunta de entrevista da empresa ServiceNow

Write javascript function for add(3)(4);?

Respostas da entrevista

Sigiloso

18 de nov. de 2016

Answer your s 12

Sigiloso

25 de abr. de 2017

function add(x){ return function (y){ return x + y } }

Sigiloso

23 de mar. de 2016

This is based on closures concept in JS.

7