export default class AssertUtils { public static typedArraysAreEqual ( left , right , size ? ) { if ( undefined === size ) { size = Math . max ( left . length , right . length ) ; } for ( let i = 0 ; i < size ; i ++ ) { if ( left [ i ] !== right [ i ] ) { return false ; } } return true ; } }