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

Method CharAt

string_unicode.go:452–454  ·  view source on GitHub ↗
(idx int)

Source from the content-addressed store, hash-verified

450}
451
452func (s unicodeString) CharAt(idx int) uint16 {
453 return s[idx+1]
454}
455
456func (s unicodeString) Length() int {
457 return len(s) - 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected