📅  最后修改于: 2022-03-11 15:02:19.432000             🧑  作者: Mango
The .ready() method is typically used with an anonymous function:
$( document ).ready(function() {
// Handler for .ready() called.
});
Which is equivalent to the recommended way of calling:
$(function() {
// Handler for .ready() called.
});