Closed Muhammad-Altabba closed 10 months ago
?. operator should be avoided because it's new and because
return (
a instanceof Uint8Array ||
(a != null && typeof a === 'object' && a.constructor.name === 'Uint8Array')
);
does all the proper work itself
thanks
Fixes #25 as in https://github.com/paulmillr/noble-hashes/issues/25#issuecomment-1750106284