Index: src/runtime.js |
diff --git a/src/runtime.js b/src/runtime.js |
index 4de9c2997df1a5debf4341aaef8fdb6d212b2902..20b608e9072430597cbdb5607ceb0f0237709522 100644 |
--- a/src/runtime.js |
+++ b/src/runtime.js |
@@ -897,6 +897,7 @@ function ToPositiveInteger(x, rangeErrorIndex) { |
%FunctionSetPrototype(GlobalArray, new GlobalArray(0)); |
// ---------------------------------------------------------------------------- |
+// Exports |
$concatIterableToArray = ConcatIterableToArray; |
$defaultNumber = DefaultNumber; |
@@ -915,4 +916,11 @@ $toPositiveInteger = ToPositiveInteger; |
$toPrimitive = ToPrimitive; |
$toString = ToString; |
+utils.ExportToRuntime(function(to) { |
+ to.ToNumber = $toNumber; |
+ to.ToString = $toString; |
+ to.ToInteger = $toInteger; |
+ to.ToLength = $toLength; |
+}); |
+ |
}) |