Skip to content

1.2.1

Compare
Choose a tag to compare
@shysolocup shysolocup released this 21 Sep 14:49
· 146 commits to main since this release
90a6f6b

aepl 1.2.1

updated Class.new() so that it defaults to a property if it can't find the type or one isn't entered

Main.new("thing", "a"); // no type entered

Main.new("sdfjkdf", "thing2", "b"); // can't find the type

Main.new("prop", "thing3", "c"); // type is Property

Main.new("func", "thing4", "d"); // type is Function


let main = new Main();

console.log(main.thing); // "a"
console.log(main.thing2); // "b"
console.log(main.thing3); // "c"
console.log(main.thing4()); // "d"