mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-08 13:37:10 +09:00

The "with" statement is its own token (TokenType::With), and thus would fail to parse as an identifier. We've already asserted that the token we are parsing is "with" or "assert", so just consume it.
2 lines
82 B
JavaScript
2 lines
82 B
JavaScript
import json from "./json-module.json" with { type: "json" };
|
|
export default json;
|