Updated node_mobules from what huskey wants to do

This commit is contained in:
Timothy Clem
2019-09-30 10:02:47 -07:00
parent a7a93607c6
commit caa2e9e5b6
7412 changed files with 26 additions and 1868293 deletions

View File

@@ -1,16 +0,0 @@
var cloneArrayBuffer = require('./_cloneArrayBuffer');
/**
* Creates a clone of `dataView`.
*
* @private
* @param {Object} dataView The data view to clone.
* @param {boolean} [isDeep] Specify a deep clone.
* @returns {Object} Returns the cloned data view.
*/
function cloneDataView(dataView, isDeep) {
var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
}
module.exports = cloneDataView;