Menu

Close
  • Home
Subscribe
Menu

Bugs

A 1-post collection

Page 1 of 1

Preventing callbacks from accidentally being called twice

Asynchronous calls like this are extremely common in JavaScript: fetchFile("example.js", function(fileContents){ console.log(fileContents) }) In order to avoid freezing the user interface while »

Matt Zeunert on callback, Bugs 22 January 2017
Page 1 of 1
JavaScript Code Readability © 2019
Proudly published with Ghost