This repository was archived by the owner on Aug 17, 2025. It is now read-only.
Repository navigation
1.3.1
aepl 1.3.1
- added __inspect property to aepl classes
- added inspect() function to the main aepl class
const cl = require('aepl');
cl.init("Example", class {
constructor(data) {
this.data = data;
}
});
Example.setInspect(function() {
return `Example(${this.data.length}) ${cl.inspect(this.data)}`;
});
let ex = new Example([ 1, 2, 3 ]);
console.log(ex.__inspect); // Example(3) [ 1, 2, 3 ]