Home Manual Reference Source Test

Usage

The code needs a ES2015+ polyfill to work, for example regenerator-runtime/runtime.

await import( 'regenerator-runtime/runtime.js' ) ;
// or
import 'regenerator-runtime/runtime.js' ;

Then

const daryheap = await import( '@heap-data-structure/d-ary-heap' ) ;
// or
import daryheap from '@heap-data-structure/d-ary-heap' ;