rhai/scripts/module.rhai
2022-07-24 23:03:35 +08:00

6 lines
117 B
JavaScript

//! This script imports an external script as a module.
import "loop" as x;
print(`Module test! foo = ${x::foo}`);