src/Common.js
/**
 * asserts on a condition
 * 
 * @param condition is a boolean value
 * @param message is an optional error description
 */
asserts on a condition

@param condition is a boolean value
@param message is an optional error description
asserts on a condition @param condition is a boolean value @param message is an optional error description
function assert(condition, message) {
	if (!condition) {
		throw new AssertionError(message);
	}
}
function assert ( condition , message ) { if ( ! condition ) { throw new AssertionError ( message ) ; } }
asserts on a condition
asserts on a condition