Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/json5/json5
/ peek
Function
peek
lib/parse.js:107–111 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
105
}
106
107
function
peek () {
108
if
(source[pos]) {
109
return
String.fromCodePoint(source.codePointAt(pos))
110
}
111
}
112
113
function
read () {
114
const
c = peek()
Callers
6
lex
Function · 0.85
read
Function · 0.85
literal
Function · 0.85
escape
Function · 0.85
hexEscape
Function · 0.85
unicodeEscape
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…