-
Notifications
You must be signed in to change notification settings - Fork 779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in 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: