require() working as I like

This commit is contained in:
2026-06-05 18:49:10 -05:00
parent a9e664492f
commit 45d8fda0e4
14 changed files with 347 additions and 767 deletions
+15
View File
@@ -0,0 +1,15 @@
Console.print('test included');
var x = 1 + 2;
module.exports = {
str: function() {
return x.toString();
},
increment: function() {
x++;
},
decrement: function() {
x--;
}
}