Index: src/runtime.js |
diff --git a/src/runtime.js b/src/runtime.js |
index 4bc377c5f063aa60924358ac7bbfb9ca45ba8d23..3593d9e126b27596e0a50771e69dcbf47490e74e 100644 |
--- a/src/runtime.js |
+++ b/src/runtime.js |
@@ -468,6 +468,12 @@ function TO_STRING() { |
} |
+// Convert the receiver to a string or symbol - forward to ToName. |
+function TO_NAME() { |
+ return %ToName(this); |
+} |
+ |
+ |
/* ------------------------------------- |
- - - C o n v e r s i o n s - - - |
------------------------------------- |