function getArgs() {
    var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
    var inMultibrowserMode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;

    var strArgs = [];

    args.forEach(function (arg) {
        if (typeof arg === 'function' || inMultibrowserMode && typeof arg === 'string' && arg.indexOf('function (') === 0) {
            return strArgs.push(arg.toString());
        }

        strArgs.push((0, _stringify2.default)(arg));
    });

    return `[${strArgs.join(',')}]`;
}
Transform command args into list of arguments
@param  {Array}   [args=[]]                  argument passed to the command
@param  {Boolean} [inMultibrowserMode=false] flag that is true if using multibrowser (multiremote)
@return {String}                             list of args