Index: sdk/lib/js_util/dart2js/js_util_dart2js.dart |
diff --git a/sdk/lib/js_util/dart2js/js_util_dart2js.dart b/sdk/lib/js_util/dart2js/js_util_dart2js.dart |
index a58745977906f0b2d83d7d7ccfae453f7860f0fd..23a46e0a16a0a5e3bfb62ece529f5687be244ec8 100644 |
--- a/sdk/lib/js_util/dart2js/js_util_dart2js.dart |
+++ b/sdk/lib/js_util/dart2js/js_util_dart2js.dart |
@@ -12,7 +12,7 @@ library dart.js_util; |
import 'dart:_foreign_helper' show JS; |
import 'dart:collection' show HashMap; |
-/// WARNING: performance of this method is much worse than other uitil |
+/// WARNING: performance of this method is much worse than other util |
/// methods in this library. Only use this method as a last resort. |
/// |
/// Recursively converts a JSON-like collection of Dart objects to a |
@@ -20,7 +20,7 @@ import 'dart:collection' show HashMap; |
/// |
/// [object] must be a [Map] or [Iterable], the contents of which are also |
/// converted. Maps and Iterables are copied to a new JavaScript object. |
-/// Primitives and other transferrable values are directly converted to their |
+/// Primitives and other transferable values are directly converted to their |
/// JavaScript type, and all other objects are proxied. |
jsify(object) { |
if ((object is! Map) && (object is! Iterable)) { |