mol_tree2 1.0.1404 → 1.0.1406
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.
- package/node.test.js +6 -0
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.test.js +6 -0
- package/web.test.js.map +1 -1
package/node.test.js
CHANGED
|
@@ -2809,6 +2809,12 @@ var $;
|
|
|
2809
2809
|
// [ Symbol.toPrimitive ]() {
|
|
2810
2810
|
// return this.toString()
|
|
2811
2811
|
// }
|
|
2812
|
+
match(...args) {
|
|
2813
|
+
return this.toString().match(...args);
|
|
2814
|
+
}
|
|
2815
|
+
split(...args) {
|
|
2816
|
+
return this.toString().split(...args);
|
|
2817
|
+
}
|
|
2812
2818
|
toString() {
|
|
2813
2819
|
return this.join('\n');
|
|
2814
2820
|
}
|