MCPcopy Create free account
hub / github.com/buke/quickjs-go / EvalFlagStrict

Function EvalFlagStrict

context.go:895–899  ·  view source on GitHub ↗
(strict bool)

Source from the content-addressed store, hash-verified

893}
894
895func EvalFlagStrict(strict bool) EvalOption {
896 return func(flags *EvalOptions) {
897 flags.js_eval_flag_strict = strict
898 }
899}
900
901func EvalFlagCompileOnly(compileOnly bool) EvalOption {
902 return func(flags *EvalOptions) {

Calls

no outgoing calls

Tested by 4

TestContextEvaluationFunction · 0.68
TestContextModulesFunction · 0.68