Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

$.type() does not support Symbol & Event & Set.... #1327

Open
onlychild opened this issue Jan 16, 2018 · 0 comments
Open

$.type() does not support Symbol & Event & Set.... #1327

onlychild opened this issue Jan 16, 2018 · 0 comments

Comments

@onlychild
Copy link

$.type(Symbol()) == 'object' // true => it's a error

$.type(Symbol()) // symbol .....

// Populate the class2type map $.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function(i, name) { class2type[ "[object " + name + "]" ] = name.toLowerCase() })

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant