mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-30 07:14:39 +08:00
10 lines
280 B
JavaScript
10 lines
280 B
JavaScript
'use strict';
|
|
// The 1615 proxied shape, imported instead of required: the RHS is not a
|
|
// literal and not require(...), so the lexer detects nothing at all.
|
|
const seven = 7;
|
|
const table = {
|
|
double(x) { return x * 2; },
|
|
fixed: seven,
|
|
};
|
|
module.exports = new Proxy(table, {});
|