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 32cfc38 commit 9090d98Copy full SHA for 9090d98
test/unit/core.js
@@ -353,6 +353,15 @@ QUnit.asyncTest( "isPlainObject", function( assert ) {
353
}
354
} );
355
356
+//
357
+QUnit[ typeof Symbol === "function" ? "test" : "skip" ]( "isPlainObject(Symbol)", function( assert ) {
358
+ assert.expect( 2 );
359
+
360
+ assert.equal( jQuery.isPlainObject( Symbol() ), false, "Symbol" );
361
+ assert.equal( jQuery.isPlainObject( Object( Symbol() ) ), false, "Symbol inside an object" );
362
+} );
363
364
365
QUnit.test( "isFunction", function( assert ) {
366
assert.expect( 19 );
367
0 commit comments