ok.js
function (name, newValue) {
		var property = this.getProperty(name);
		if (!property) {
			this.initProperty(name, newValue);
		}
		else {
			property.set(newValue);
		}
	}
function (name, newValue) {
		var property = this.getProperty(name);
		if (!property) {
			this.initProperty(name, newValue);
		}
		else {
			property.set(newValue);
		}
	}
function ( name , newValue ) { var property = this . getProperty ( name ) ; if ( ! property ) { this . initProperty ( name , newValue ) ; } else { property . set ( newValue ) ; } }
Set the value of a single property
@param {string} name Property name
@param {*} newValue Property value
Set the value of a single property