aureooms/js-memory

View on GitHub
src/malloc.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * Method that allocates an ArrayBuffer.
 */

export const malloc = n => new ArrayBuffer( n ) ;