JavjQuery jest pustym
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
SmokeFrog