Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

1.3.1

Choose a tag to compare

@shysolocup shysolocup released this 12 Nov 17:50
· 54 commits to main since this release
476007d

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 ]