Month: February 2019

Access

Blog History

TinyMCE & React

Just had to change a Draft.js based editor for something that worked with Chrome for Android and found TinyMCE Here is my attempt to get it working with both desktop and mobile

read more

setTimeout in a loop

Why does all the output of a for loop appear at once when using setTimeout? for(var i = 0; i < 5; i++){ (function(i){ setTimeout(function(){ console.log('value is ', i); }, 3000); })(i); } When you run the above code after 3 seconds the output of all iterations of...

read more