This Gist is a WIP
var a, b, c;
a = b = c = 10;
alert(a + b + c)
Background: javascript modules were usually written as single files, however nodejs came with the modules concept in mind, thus require
exists for it, then ecmascript 6 came with the export/import syntax, follow this guide for implementation details of both the methods