ecmascript5
v0.1.0
Published
Downloads
2
Readme
import console; module util { print: (m){console.log(m);}; }; export class Foo { use util; init: (v){this.v = isFinite(v) ? v:0, this;}; print: (m){util.print(m), this;}; class self.Bar { extends Foo; '+': (v){isFinite(v) ? v:this.v;}; print: (v){super(this + v);}; }; }; fb = new Foo.Bar(); fb.print(10);