subject
Some sweet object definition, inheritance and instantiation in functional syntax.
var subject = ;// define person buildervar person = subject;// instantiate personvar joe = ;joe // My name is Joe Smith// define musician builder, which should inherit from personvar musician = person;// instantiate musicianvar bob = ;// person methodsbob // My name is Bob Dylan// musician methods.bob // ♬ ♫ ♪ ♩ ♭ La La Labob // I can't play that!