Senior Frontend Developer Question:
Tell us what Is A Callback Function?
Answer:
JavaScript is read line by line. Sometimes, this can result in what seems like a subsequent line of code being executed prior to an earlier line of code. A callback function is used to prevent this from happening, because it is not called until the previous line of code has fully executed.
Previous Question | Next Question |
Tell me what Is The Lazy Loading? | Tell me when would you use CSS clear? |