MCPcopy Create free account
hub / github.com/dop251/goja / setForeignStr

Method setForeignStr

string.go:227–229  ·  view source on GitHub ↗
(name unistring.String, val, receiver Value, throw bool)

Source from the content-addressed store, hash-verified

225}
226
227func (s *stringObject) setForeignStr(name unistring.String, val, receiver Value, throw bool) (bool, bool) {
228 return s._setForeignStr(name, s.getOwnPropStr(name), val, receiver, throw)
229}
230
231func (s *stringObject) setForeignIdx(idx valueInt, val, receiver Value, throw bool) (bool, bool) {
232 return s._setForeignIdx(idx, s.getOwnPropIdx(idx), val, receiver, throw)

Callers

nothing calls this directly

Calls 2

getOwnPropStrMethod · 0.95
_setForeignStrMethod · 0.80

Tested by

no test coverage detected