| Index: lib/compiler/implementation/lib/js_helper.dart
|
| diff --git a/lib/compiler/implementation/lib/js_helper.dart b/lib/compiler/implementation/lib/js_helper.dart
|
| index f25f41ad1f88d96b4090c9c4b1b1bc15b3fcb422..69c3823d6015c98351e67cceb814a64ad6364377 100644
|
| --- a/lib/compiler/implementation/lib/js_helper.dart
|
| +++ b/lib/compiler/implementation/lib/js_helper.dart
|
| @@ -489,7 +489,7 @@ class Primitives {
|
| value = JS('num', @'new Date(#, #, #, #, #, #, #).valueOf()',
|
| years, jsMonth, day, hours, minutes, seconds, milliseconds);
|
| }
|
| - if (value.isNaN()) throw new IllegalArgumentException();
|
| + if (value.isNaN()) throw new IllegalArgumentException('');
|
| if (years <= 0 || years < 100) return patchUpY2K(value, years, isUtc);
|
| return value;
|
| }
|
|
|