Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dop251/goja
/ functions
Functions
4,701 in github.com/dop251/goja
⨍
Functions
4,701
◇
Types & classes
735
↓ 7 callers
Method
_newArrayBuffer
(proto *Object, o *Object)
typedarrays.go:1265
↓ 7 callers
Function
arraySpeciesCreate
(obj *Object, size int64)
builtin_array.go:38
↓ 7 callers
Method
checkIdentifierName
(name unistring.String, offset int)
compiler.go:1322
↓ 7 callers
Method
emitInitP
()
compiler.go:194
↓ 7 callers
Method
emitPattern
(pattern ast.Pattern, emitter func(target, init compiledExpr), putOnStack bool)
compiler_expr.go:3323
↓ 7 callers
Method
emitThrow
(v Value)
compiler_expr.go:2401
↓ 7 callers
Method
exportToArrayOrSlice
(s reflect.Value, typ reflect.Type, ctx *objectExportCtx)
object.go:197
↓ 7 callers
Method
exportType
()
object.go:195
↓ 7 callers
Function
extractSourceMapLine
(str string)
parser/statement.go:896
↓ 7 callers
Method
getArrayValues
()
builtin_array.go:1723
↓ 7 callers
Method
getPrivateEnv
(typ *privateEnvType, create bool)
object.go:210
↓ 7 callers
Method
getPromise
()
builtin_promise.go:588
↓ 7 callers
Method
getRefByName
(name unistring.String, strict bool)
vm.go:518
↓ 7 callers
Method
getReferenceError
()
builtin_error.go:256
↓ 7 callers
Method
idxOf
(offset int)
parser/parser.go:253
↓ 7 callers
Method
index
(String, int)
string.go:68
↓ 7 callers
Method
init
()
object.go:272
↓ 7 callers
Method
initBaseJsFunction
(f *baseJsFuncObject, strict bool)
runtime.go:599
↓ 7 callers
Function
ipow
(base, exp int64)
ipow.go:35
↓ 7 callers
Function
isRegexp
(v Value)
runtime.go:2877
↓ 7 callers
Function
isUTF16SecondSurrogate
(c uint16)
string.go:84
↓ 7 callers
Method
isWritable
()
value.go:509
↓ 7 callers
Method
materialiseSymbols
()
object_template.go:119
↓ 7 callers
Method
parseBlockStatement
()
parser/statement.go:15
↓ 7 callers
Method
pop
()
vm.go:897
↓ 7 callers
Method
preventExtensions
(throw bool)
object.go:192
↓ 7 callers
Method
putSpeciesReturnThis
(o objectImpl)
runtime.go:2972
↓ 7 callers
Method
regExpExec
(execFn func(FunctionCall) Value, rxObj *Object, arg Value)
builtin_regexp.go:686
↓ 7 callers
Method
resolve
(result Value)
builtin_promise.go:385
↓ 7 callers
Method
semicolon
()
parser/parser.go:242
↓ 7 callers
Method
setForeignSym
(p *Symbol, v, receiver Value, throw bool)
object.go:167
↓ 7 callers
Method
step
()
func.go:798
↓ 7 callers
Method
switch2
(tkn0, tkn1 token.Token)
parser/lexer.go:467
↓ 7 callers
Method
toKey
(n Value, throw bool)
object_gomap_reflect.go:22
↓ 7 callers
Method
tokenToBindingId
()
parser/expression.go:278
↓ 7 callers
Method
useCount
()
compiler.go:276
↓ 7 callers
Method
writeString
(s string)
parser/regexp.go:133
↓ 6 callers
Method
Bytes
Bytes returns the underlying []byte for this ArrayBuffer. For detached ArrayBuffers returns nil.
typedarrays.go:94
↓ 6 callers
Method
DefineDataProperty
DefineDataProperty is a Go equivalent of Object.defineProperty(o, name, {value: value, writable: writable, configurable: configurable, enumerable: enu
value.go:854
↓ 6 callers
Function
FToStr
(d float64, mode FToStrMode, precision int, buffer []byte)
ftoa/ftostr.go:42
↓ 6 callers
Function
FromUtf16
(b []uint16)
unistring/string.go:98
↓ 6 callers
Method
GlobalObject
GlobalObject returns the global object.
runtime.go:2388
↓ 6 callers
Function
NewSymbol
(s string)
value.go:1149
↓ 6 callers
Method
ReadRune
()
regexp.go:50
↓ 6 callers
Method
Reader
()
string.go:64
↓ 6 callers
Function
Undefined
Undefined returns JS undefined value. Note if global 'undefined' property is changed this still returns the original value.
runtime.go:2571
↓ 6 callers
Method
Write
(b *bytes.Buffer)
runtime.go:273
↓ 6 callers
Method
alreadyDeclared
(name unistring.String)
vm.go:4106
↓ 6 callers
Method
captureStack
(stack []StackFrame, ctxOffset int)
vm.go:708
↓ 6 callers
Method
checkStdArrayObjWithProto
(obj *Object)
builtin_array.go:1435
↓ 6 callers
Method
checkStdRegexp
(rxObj *Object)
builtin_regexp.go:750
↓ 6 callers
Method
className
()
object.go:151
↓ 6 callers
Method
createArrayIterator
(iterObj *Object, kind iterationKind)
array.go:48
↓ 6 callers
Method
emitLiteralString
(s String)
compiler.go:389
↓ 6 callers
Function
fToStr
(num float64, mode ftoa.FToStrMode, prec int)
value.go:174
↓ 6 callers
Method
getIteratorPrototype
()
runtime.go:435
↓ 6 callers
Method
getRegExpPrototype
()
builtin_regexp.go:1330
↓ 6 callers
Method
getUint32
(idx int, byteOrder byteOrder)
typedarrays.go:1119
↓ 6 callers
Function
growCap
(newSize, oldSize, oldCap int)
runtime.go:2906
↓ 6 callers
Method
has
(key Value)
map.go:106
↓ 6 callers
Method
hasPropertySym
(s *Symbol)
object.go:171
↓ 6 callers
Method
init
()
runtime.go:445
↓ 6 callers
Function
isUTF16FirstSurrogate
(c uint16)
string.go:80
↓ 6 callers
Function
limitCallArgs
(call FunctionCall, n int)
runtime.go:2889
↓ 6 callers
Method
materialisePropNames
()
object_template.go:136
↓ 6 callers
Method
newNativeFuncAndConstruct
(v *Object, call func(call FunctionCall) Value, ctor func(args []Value, newTarget *Object) *Object, defaultPro
runtime.go:713
↓ 6 callers
Method
newStash
()
vm.go:595
↓ 6 callers
Method
parseIdentifier
()
parser/expression.go:12
↓ 6 callers
Method
passString
(start, end int)
parser/regexp.go:474
↓ 6 callers
Method
pushTryFrame
(catchPos, finallyPos int32)
vm.go:759
↓ 6 callers
Method
put
(key *Object, value interface{})
object.go:1695
↓ 6 callers
Method
recordKey
(key Value)
destruct.go:33
↓ 6 callers
Method
resolvePrivateName
(name unistring.String, offset int)
compiler.go:1473
↓ 6 callers
Method
returnIter
()
runtime.go:2773
↓ 6 callers
Method
scanMantissa
(base int, allowSeparator bool)
parser/lexer.go:641
↓ 6 callers
Method
setReflectValue
(reflect.Value)
object_goreflect.go:86
↓ 6 callers
Method
speciesConstructorObj
(o, defaultConstructor *Object)
runtime.go:2646
↓ 6 callers
Method
step
(res Value, resType resultType, ex *Exception)
func.go:922
↓ 6 callers
Method
strToKey
(name string, throw bool)
object_gomap_reflect.go:32
↓ 6 callers
Function
testLib
()
compiler_test.go:167
↓ 6 callers
Method
testScript
(script string, expectedResult Value, t *testing.T)
compiler_test.go:229
↓ 6 callers
Function
toIntClamp
(i int64)
runtime.go:1264
↓ 6 callers
Method
toLengthUint32
(v Value)
runtime.go:1216
↓ 6 callers
Method
toTrimmedUTF8
()
string.go:72
↓ 6 callers
Function
toUint16
(v Value)
runtime.go:1093
↓ 6 callers
Method
try
(f func())
runtime.go:2611
↓ 5 callers
Method
Delete
Delete the property for the key. Returns true on success (note, that includes missing property).
object_dynamic.go:27
↓ 5 callers
Function
IsId
(tkn Token)
token/token.go:116
↓ 5 callers
Method
RunScript
RunScript executes the given string in the global context.
runtime.go:1402
↓ 5 callers
Method
String
()
string_unicode.go:494
↓ 5 callers
Method
_getIdx
(idx int)
typedarrays.go:721
↓ 5 callers
Method
_setIdx
(idx int, v Value, throw bool)
object_dynamic.go:634
↓ 5 callers
Method
addStackProp
()
builtin_error.go:29
↓ 5 callers
Method
compileFunctions
(list []*ast.FunctionDeclaration)
compiler.go:1072
↓ 5 callers
Method
compileIfBody
(s ast.Statement, needResult bool)
compiler_stmt.go:661
↓ 5 callers
Method
compileLexicalDeclarations
(list []ast.Statement, scopeDeclared bool)
compiler.go:1212
↓ 5 callers
Method
compileStatements
(list []ast.Statement, needResult bool)
compiler_stmt.go:930
↓ 5 callers
Method
countVariadicArgs
()
vm.go:3606
↓ 5 callers
Method
createBindings
(target ast.Expression, createIdBinding func(name unistring.String, offset int))
compiler.go:1117
↓ 5 callers
Method
createFunctionBindings
(funcs []*ast.FunctionDeclaration)
compiler.go:1040
← previous
next →
301–400 of 4,701, ranked by callers