lab001

command
v0.0.0-...-f10d331 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 2 Imported by: 0

README

调用单个js文件

调用一个外部的js文件,但是这个里面也不是直接调用,而是compile这个js文件,然后可以在内部运行这个代码

注意

vm.Compile("js/test1.js", nil,只有第二个参数为nil的时候才会去读取指定的这个文件

运行结果

Imgur

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL