We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 214e163 commit d3a2fdcCopy full SHA for d3a2fdc
test/unit/core.js
@@ -355,6 +355,15 @@ QUnit.asyncTest( "isPlainObject", function( assert ) {
355
}
356
} );
357
358
+//
359
+QUnit[ typeof Symbol === "function" ? "test" : "skip" ]( "isPlainObject(Symbol)", function( assert ) {
360
+ assert.expect( 2 );
361
+
362
+ assert.equal( jQuery.isPlainObject( Symbol() ), false, "Symbol" );
363
+ assert.equal( jQuery.isPlainObject( Object( Symbol() ) ), false, "Symbol inside an object" );
364
+} );
365
366
367
QUnit.test( "isFunction", function( assert ) {
368
assert.expect( 19 );
369
0 commit comments