app/instance-initializers/segment.js
function hasEmberVersion(major, minor) {
  const numbers = VERSION.split('-')[0].split('.');
  const actualMajor = parseInt(numbers[0], 10);
  const actualMinor = parseInt(numbers[1], 10);
  return actualMajor > major || (actualMajor === major && actualMinor >= minor);
}
function hasEmberVersion(major, minor) {
  const numbers = VERSION.split('-')[0].split('.');
  const actualMajor = parseInt(numbers[0], 10);
  const actualMinor = parseInt(numbers[1], 10);
  return actualMajor > major || (actualMajor === major && actualMinor >= minor);
}
function hasEmberVersion ( major , minor ) { const numbers = VERSION . split ( '-' ) [ 0 ] . split ( '.' ) ; const actualMajor = parseInt ( numbers [ 0 ] , 10 ) ; const actualMinor = parseInt ( numbers [ 1 ] , 10 ) ; return actualMajor > major || ( actualMajor === major && actualMinor >= minor ) ; }
Taken from ember-test-helpers
Taken from ember - test - helpers