Created — forked from bxt/this-in-setTimeout-call.js

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View this-in-setTimeout-call.js
1 2 3
setTimeout(function (obj){(function(){
/*here goes the callback code*/
}).apply(obj)},time,this);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.