The code needs a ES2015+ polyfill to work, for example babel-polyfill.
require( 'babel-polyfill' ) ;
// or
import 'babel-polyfill' ;
Then
const measure = require( 'aureooms-js-sort' ) ;
// or
import measure from 'aureooms-js-sort' ;
The code needs a ES2015+ polyfill to work, for example babel-polyfill.
require( 'babel-polyfill' ) ;
// or
import 'babel-polyfill' ;
Then
const measure = require( 'aureooms-js-sort' ) ;
// or
import measure from 'aureooms-js-sort' ;