📜  jquery is emptyobjec - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:22.261000             🧑  作者: Mango

代码示例1
jQuery.isEmptyObject({}); // true
jQuery.isEmptyObject({ foo: "bar" }); // false
// Remember to replace 'jQuery' with the correct alias if you're importing jquery:
import $ from 'jquery';
$.isEmptyObject({ foo: "bar" }); // false