function assert(assertion, errorMessage) {
  if (!assertion) {
    throw new Error(errorMessage);
  }
}
@param {*} assertion Assertion we expected to be truthy.
@param {string} errorMessage Error message.