"use strict";

const classNames = {};

module.exports = {

    CreateObject: className => {
        if (undefined === classNames[className]) {
            classNames[className] = require("./" + className + ".js");
        }
        return new classNames[className]();
    },

    Arguments: process.argv.slice(2),
    ScriptFullName: process.argv[1],
    Echo: text => console.log(text),
    Quit: code => process.exit(code)

};

@@ -13,16 +13,20 @@
 ;%0A%0Aconst
+%0A   
  classNa
@@ -33,16 +33,228 @@
 mes = %7B%7D
+,%0A    argumentsArray = process.argv.slice(2),%0A    argumentsFunction = index =%3E argumentsArray%5Bindex%5D;%0A%0AObject.defineProperty(argumentsFunction, %22length%22, %7B%0A    value: argumentsArray.length,%0A    writable: false%0A%7D)
 ;%0A%0Amodul
@@ -500,37 +500,33 @@
 uments: 
-process.argv.slice(2)
+argumentsFunction
 ,%0A    Sc

Fix arguments handling (#226)