mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
36 lines
927 B
JavaScript
36 lines
927 B
JavaScript
import {
|
|
__HMRModule as HMR
|
|
} from "http://localhost:8080/__runtime.js";
|
|
import {
|
|
__HMRClient as Bun
|
|
} from "http://localhost:8080/__runtime.js";
|
|
Bun.activate(true);
|
|
|
|
var hmr = new HMR(3608848620, "optional-chain-with-function.js"), exports = hmr.exports;
|
|
(hmr._load = function() {
|
|
function test() {
|
|
try {
|
|
const multipleSecondaryValues = undefined;
|
|
const ratings = ["123"];
|
|
var bar = multipleSecondaryValues?.map((value) => false);
|
|
bar = bar?.multipleSecondaryValues?.map((value) => false);
|
|
bar = bar?.bar?.multipleSecondaryValues?.map((value) => false);
|
|
bar = {}?.bar?.multipleSecondaryValues?.map((value) => false);
|
|
} catch (e) {
|
|
throw e;
|
|
}
|
|
return testDone(import.meta.url);
|
|
}
|
|
hmr.exportAll({
|
|
test: () => test
|
|
});
|
|
})();
|
|
var $$hmr_test = hmr.exports.test;
|
|
hmr._update = function(exports) {
|
|
$$hmr_test = exports.test;
|
|
};
|
|
|
|
export {
|
|
$$hmr_test as test
|
|
};
|