Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    ecmascript5public

    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);

    Keywords

    none

    install

    npm i ecmascript5

    Downloadslast 7 days

    3

    version

    0.1.0

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar