We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 805176f commit 43d5935Copy full SHA for 43d5935
function-patterns/callback.html
@@ -19,7 +19,7 @@
19
var node = complexComputation();
20
21
// call if callback is callable
22
- if (typeof callback == "function") {
+ if (typeof callback === "function") {
23
callback(node);
24
}
25
0 commit comments