Pregunta de entrevista de ServiceNow

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

Respuestas de entrevistas

Anónimo

18 nov 2016

Answer your s 12

Anónimo

25 abr 2017

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

Anónimo

23 mar 2016

This is based on closures concept in JS.

7