MCPcopy Create free account
hub / github.com/marijnh/Eloquent-JavaScript / next

Method next

src/pseudo_json.mjs:19–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 }
18
19 get next() {
20 return this.str.charCodeAt(this.pos)
21 }
22
23 ahead(n) {
24 this.pos += n

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected