Skip to content

Commit eceefcf

Browse files
denisnamemgol
authored andcommitted
jQuery.type: Add results for symbols (bare & boxed)
Closes jquery#1025
1 parent af3f23e commit eceefcf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

entries/jQuery.type.xml

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
<li>jQuery.type( new Array() ) === "array"</li>
3333
<li>jQuery.type( new Date() ) === "date"</li>
3434
<li>jQuery.type( new Error() ) === "error" // <strong>as of jQuery 1.9</strong></li>
35+
<li>jQuery.type( Symbol() ) === "symbol" // <strong>as of jQuery 1.9</strong></li>
36+
<li>jQuery.type( Object(Symbol()) ) === "symbol" // <strong>as of jQuery 1.12</strong></li>
3537
<li>jQuery.type( /test/ ) === "regexp"</li>
3638
</ul>
3739
</li>

0 commit comments

Comments
 (0)