MCPcopy Index your code
hub / github.com/dop251/goja / init

Method init

string.go:148–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146}
147
148func (s *stringObject) init() {
149 s.baseObject.init()
150 s.setLength()
151}
152
153func (s *stringObject) setLength() {
154 if s.value != nil {

Callers 1

_newStringMethod · 0.95

Calls 2

setLengthMethod · 0.95
initMethod · 0.65

Tested by

no test coverage detected