| Index: lib/runtime/dart/math.js
|
| diff --git a/lib/runtime/dart/math.js b/lib/runtime/dart/math.js
|
| index e39d54a000f851e1e77ab4c63f941bdfe1c8231c..c9c1686c363e6d07d8ba3ed47113c28229b8abbf 100644
|
| --- a/lib/runtime/dart/math.js
|
| +++ b/lib/runtime/dart/math.js
|
| @@ -217,8 +217,8 @@ var math;
|
| return b;
|
| if (dart.notNull(a) < dart.notNull(b))
|
| return a;
|
| - if (typeof b == number) {
|
| - if (typeof a == number) {
|
| + if (typeof b == 'number') {
|
| + if (typeof a == 'number') {
|
| if (a === 0.0) {
|
| return (dart.notNull(a) + dart.notNull(b)) * dart.notNull(a) * dart.notNull(b);
|
| }
|
| @@ -239,8 +239,8 @@ var math;
|
| return a;
|
| if (dart.notNull(a) < dart.notNull(b))
|
| return b;
|
| - if (typeof b == number) {
|
| - if (typeof a == number) {
|
| + if (typeof b == 'number') {
|
| + if (typeof a == 'number') {
|
| if (a === 0.0) {
|
| return dart.notNull(a) + dart.notNull(b);
|
| }
|
|
|