prototype.exe 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/prototype.js +3 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prototype.exe",
3
3
  "description": "JScript",
4
- "version": "0.0.10",
4
+ "version": "0.0.11",
5
5
  "main": "src/prototype.js",
6
6
  "files": [
7
7
  "src/",
package/src/prototype.js CHANGED
@@ -83,6 +83,8 @@ Define (Object, "clone", function (object) { return JSON.parse (JSON.stringify (
83
83
  Define (Object, "un_define", function (input) { if (arguments.length) return input === undefined; else return undefined; });
84
84
  Define (Object, "un_set", function (input) { return input === undefined || input === null; });
85
85
 
86
+ Define (Object, "to_string", function (input) { return input.toString (); });
87
+
86
88
  /**
87
89
  * array
88
90
  *
@@ -1652,6 +1654,7 @@ Symbol.export = {
1652
1654
  owl: Function.owl,
1653
1655
  asset: Function.asset, theme: Function.theme, template: Function.template,
1654
1656
  sitemap: Function.sitemap, "sitemap.xsl": Function ["sitemap.xsl"], "sitemap.xsl:index": Function ["sitemap.xsl:index"],
1657
+ to_string: Object.to_string,
1655
1658
  zero: 0, one: 1,
1656
1659
  }
1657
1660