"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Environment = (function () {
    function Environment(kwArgs) {
        this.browserName = undefined;
        this.version = undefined;
        this.platform = undefined;
        this.platformVersion = undefined;
        var anyThis = this;
        for (var k in kwArgs) {
            anyThis[k] = kwArgs[k];
        }
    }
    Environment.prototype.toString = function () {
        var parts = [];
        parts.push(this.browserName || 'Any browser');
        this.version && parts.push(this.version);
        parts.push('on ' + (this.platform || 'any platform'));
        this.platformVersion && parts.push(this.platformVersion);
        return parts.join(' ');
    };
    return Environment;
}());
exports.default = Environment;
//# sourceMappingURL=Environment.js.map