| Index: sdk/lib/_internal/lib/js_number.dart
|
| diff --git a/sdk/lib/_internal/lib/js_number.dart b/sdk/lib/_internal/lib/js_number.dart
|
| index b5591fb6e41fe44e5a74389dcc906c03729033d6..40a3c7f8cc34451145dc96e58952569a78c86dad 100644
|
| --- a/sdk/lib/_internal/lib/js_number.dart
|
| +++ b/sdk/lib/_internal/lib/js_number.dart
|
| @@ -49,6 +49,8 @@ class JSNumber extends Interceptor implements num {
|
| || JS('bool', r'# == -Infinity', this);
|
| }
|
|
|
| + bool get isFinite => JS('bool', r'isFinite(#)', this);
|
| +
|
| num remainder(num b) {
|
| checkNull(b); // TODO(ngeoffray): This is not specified but co19 tests it.
|
| if (b is! num) throw new ArgumentError(b);
|
|
|