Index: src/runtime.js |
diff --git a/src/runtime.js b/src/runtime.js |
index 79824e4e02a4b950e191e9a2afbaa60b2818e3f2..145823b1f23b8dae9605576ceb8a3ec0cf3a9414 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 - - - |
------------------------------------- |