-
Notifications
You must be signed in to change notification settings - Fork 780
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
Rename "assert.raises" to "assert.throws" #267
Comments
Okay, so it looks like it was included in the list of "Future Reserved Words" in ES3.1 (not anymore in ES5). We should do a cross-browser test and find out whether browsers made an issue out of this. Maybe this research was done in the past, but I couldn't find it anywhere. |
👍 |
This was referenced Jun 26, 2012
Closed
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
I know we are famous for this and it appears justified:
But I've looked in many places and can't find a source to back this up:
While googling I did find several lists about Java reserved words (which includes
throws
), but not for ECMAScript.The text was updated successfully, but these errors were encountered: