webpack/test/helpers/supportsWebAssembly.js

10 lines
157 B
JavaScript

"use strict";
module.exports = function supportsWebAssembly() {
try {
return typeof WebAssembly !== "undefined";
} catch (_err) {
return false;
}
};