mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
8 lines
193 B
TypeScript
8 lines
193 B
TypeScript
|
import j1, { $var } from "./subdir/json_1.json";
|
||
|
import j2 from "./subdir/json_2.json";
|
||
|
console.log($var);
|
||
|
console.log($var.a);
|
||
|
console.log(j1);
|
||
|
console.log(j1["with space"]);
|
||
|
console.log(j2);
|