ember_debug/general-debug.js
function findMetaTag(attribute, regExp = /.*/) {
  let metas = document.querySelectorAll(`meta[${attribute}]`);
  for (let i = 0; i < metas.length; i++) {
    let match = metas[i].getAttribute(attribute).match(regExp);
    if (match) {
      return metas[i];
    }
  }
  return null;
}
function findMetaTag(attribute, regExp = /.*/) {
  let metas = document.querySelectorAll(`meta[${attribute}]`);
  for (let i = 0; i < metas.length; i++) {
    let match = metas[i].getAttribute(attribute).match(regExp);
    if (match) {
      return metas[i];
    }
  }
  return null;
}
function findMetaTag ( attribute , regExp = / .* / ) { let metas = document . querySelectorAll ( ` ${ attribute } ` ) ; for ( let i = 0 ; i < metas . length ; i ++ ) { let match = metas [ i ] . getAttribute ( attribute ) . match ( regExp ) ; if ( match ) { return metas [ i ] ; } } return null ; }
Finds a meta tag by searching through a certain meta attribute.

@param  {String} attribute
@param  {RegExp} regExp
@return {Element}
Finds a meta tag by searching through a certain meta attribute .