"arguments.callee is deprecated - what should be used instead?" Code Answer

5

yes, that's what, theoretically, should be used. you're right. however, it doesn't work in some versions of internet explorer, as always. so be careful. you may need to fall back on arguments.callee, or, rather, a simple:

function callback() {
    // ...
    settimeout(callback, 100);
}

settimeout(callback, 100);

which does work on ie.

By alleus on July 19 2022

Answers related to “arguments.callee is deprecated - what should be used instead?”

Only authorized users can answer the Search term. Please sign in first, or register a free account.