Error 'caller',' callee', and 'arguments' properties in strict mode

input.on( "change", function( e ) {
                    var fn = arguments.callee,
                        clone;

                    me.files = e.target.files;

                    // reset input
                    clone = this.cloneNode( true );
                    clone.value = null;
                    this.parentNode.replaceChild( clone, this );

                    input.off();
                    input = $( clone ).on( "change", fn )
                            .on( "mouseenter mouseleave", mouseHandler );

                    owner.trigger("change");
                });

                label.on( "mouseenter mouseleave", mouseHandler );

May.28,2021

strict mode does not support arguments.callee


strict mode does not support arguments.caller and arguments.callee.
if you want to call yourself, just give your anonymous function a name.
for example,: settimeout (function foo () {. Foo ();})

  • How does ES6Module load as a whole?

    excuse me, now that I have the time, route tool function file, how can I unify the proxy output in index? in time.js export cosnt time1 export cosnt time2 in route.js export cosnt route1 export cosnt route2 how to output time.js and route.js as ...

    Mar.23,2021
Menu