I don't understand this problem,please,tell me more about it.How I may decide this?


It's getCallback and setCallback. Note the lowercase b instead of uppercase B. JavaScript is cAsE-sEnSiTiVe.


At line number 9, remove $A.getCallBack and try to save the helper js. Below is the code snippet


// logic


$A.getCallback() is used when passing a callback function to a function outside the Lightning framework that might interact with a component outside the normal rendering lifecycle, such as setTimeout():

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.