Update punycode.js

702cc2daf1
This commit is contained in:
Bernd 2015-04-16 10:34:03 +02:00
parent 0025ab9721
commit 2c674f14ac
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@
* @returns {Error} Throws a `RangeError` with the applicable error message. * @returns {Error} Throws a `RangeError` with the applicable error message.
*/ */
function error(type) { function error(type) {
throw RangeError(errors[type]); throw new RangeError(errors[type]);
} }
/** /**