function supportsLocaleUnits() {
  try {
    determineLocaleUnitSymbol(1, 'inch');
    return true;
  } catch (e) {
    return false;
  }
}
/**
 * Determine if the browser supports translating units
 * like feet, inches, etc.
 * @return {boolean}
 */
Determine if the browser supports translating units
like feet, inches, etc.
@return {boolean}
Determine if the browser supports translating units like feet inches etc . @return { boolean }
function supportsLocaleUnits() {
  try {
    determineLocaleUnitSymbol(1, 'inch');
    return true;
  } catch (e) {
    return false;
  }
}
function supportsLocaleUnits ( ) { try { determineLocaleUnitSymbol ( 1 , 'inch' ) ; return true ; } catch ( e ) { return false ; } }
Determine if the browser supports translating units
 like feet, inches, etc.
Determine if the browser supports translating units like feet inches etc .