whats wrong with this code ? function callBacker(caller){ return function (thing1 ,…
- User
whats wrong with this code ?
function callBacker(caller){ return function (thing1 , thing2){ console.log("Our things are used here" , thing1 , thing2) caller(thing1, thing2) } }
function callB(thing1 , thing2){ console.log(thing1 , thing2) }
let thisCallback = callBacker(callB())
thisCallback("One" , "Two")
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.