import Time from './modules/time' ; import Tools from './modules/tools' ; import Cache from './modules/cache' ; import Check from './modules/reCheck' ; let check = new Check ( ) ; let tools = new Tools ( ) ; let cache = new Cache ( ) ; let time = new Time ( ) ; export { tools , cache , time , check } ; let count = 5 ; document . querySelector ( '.btn' ) . addEventListener ( 'click' , function ( ) { tools . cached ( res => { count += 5 ; console . log ( 'res' + res ) ; console . log ( 'count' + count ) ; } ) ( count ) ; } ) ; console . log ( tools . getExplorerInfo ( ) ) ; const a = [ 1 , 1 , 2 ] ; console . log ( tools . unique ( a ) ) ; console . log ( tools . viewWebPagePerformance ( ) ) ;