| 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 8dd89d8045e29ce8f0a74dd828a101e9d989961a..e16563c1c9a02f4de3d5dfe4f741f522c046f914 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);
|
|
|