How to prevent a function executes after being executed
Hi,
Is there anyway to stop function c executes again after it is being executed by function a.
Code (text):
var a = function() {
c(1);
}
var b = function() {
c(2);
}
var c = function(i) {
var d = 3 + i;
console.log(d);
}
a();
b();
Thank you,
See original post by ketting00
Leave a Reply
You must be logged in to post a comment.