Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dop251/goja
/ constant
Method
constant
compiler_expr.go:2693–2695 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2691
}
2692
2693
func
(e *compiledBinaryExpr) constant() bool {
2694
return
e.left.constant() && e.right.constant()
2695
}
2696
2697
func
(e *compiledBinaryExpr) emitGetter(putOnStack bool) {
2698
e.c.emitExpr(e.left, true)
Callers
nothing calls this directly
Calls
1
constant
Method · 0.65
Tested by
no test coverage detected