Files
scriptc/tests/fixtures/npm/node_modules/lexzoo/getters.js
2026-07-22 18:08:04 -05:00

7 lines
357 B
JavaScript

// The getter-in-table shape Node's lexer cannot see (the npm
// cjs-module-lexer wrongly answers a phantom "get" here): NO named export
// exists — the value is reachable through the default import only, and a
// named import of `hidden` refuses the whole graph at instantiate.
"use strict";
module.exports = { get hidden() { return "hidden-value"; } };