infrastructure: create monorepo structure with apps/angular, apps/react, e2e directories

This commit is contained in:
gnezim
2026-04-05 18:53:38 +03:00
parent c012c7ebe8
commit 382d8c453a
34399 changed files with 18 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
'use strict';
var callBound = require('call-bound');
var $byteLength = callBound('ArrayBuffer.prototype.byteLength', true);
var isArrayBuffer = require('is-array-buffer');
/** @type {import('.')} */
module.exports = function byteLength(ab) {
if (!isArrayBuffer(ab)) {
return NaN;
}
return $byteLength ? $byteLength(ab) : ab.byteLength;
}; // in node < 0.11, byteLength is an own nonconfigurable property