binance_bot/node_modules/esserializer/demo/env/MyObject.js
2025-01-07 19:06:55 +01:00

23 lines
375 B
JavaScript

/**
* Created by cshao on 2021-03-09.
*/
'use strict';
function MyObject() { this.init(); }
MyObject.prototype = {
property1: "",
property2: "",
init: function () {
this.property1 = "First";
this.property2 = "Second";
},
test: function() {
console.log("Executing test!");
}
};
MyObject.prototype.constructor=MyObject;
module.exports = MyObject;