mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 15:34:56 -05:00
committed by
Oleg Gaidarenko
parent
44f8239d3f
commit
0703fd52ef
@@ -490,6 +490,13 @@ QUnit.test( "isNumeric", function( assert ) {
|
||||
assert.equal( t( new Date() ), false, "Instance of a Date" );
|
||||
} );
|
||||
|
||||
QUnit[ typeof Symbol === "function" ? "test" : "skip" ]( "isNumeric(Symbol)", function( assert ) {
|
||||
assert.expect( 2 );
|
||||
|
||||
assert.equal( jQuery.isNumeric( Symbol() ), false, "Symbol" );
|
||||
assert.equal( jQuery.isNumeric( Object( Symbol() ) ), false, "Symbol inside an object" );
|
||||
} );
|
||||
|
||||
QUnit.test( "isXMLDoc - HTML", function( assert ) {
|
||||
assert.expect( 4 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user