Why do you set holdReady (true), ready or execute it first?

1: I want setTimeout to execute the functions in ready first, but not
2: code:

    setTimeout(function(){
          console.log("one");
    },500);
    $.holdReady(true);
    $("document").ready(function(){
    console.log("two");
    });
    

the result is to print two before printing one.
Why does the (true); still execute the ready function when $.holdReady (true); is set? I didn"t set the $.holdReady (false); and how can I let the setTimeout finish executing the ready (). First

Mar.13,2021

$.holdReady version 3.2 this method has been deprecated

Menu