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
↓ 3 callers
Method
tryCallDelegated
(fn func() (Value, bool))
func.go:961
↓ 3 callers
Method
tryExoticToPrimitive
(hint Value)
object.go:875
↓ 3 callers
Method
typeMatch
(v Value)
typedarrays.go:55
↓ 3 callers
Method
typedArraySpeciesCreate
(ta *typedArrayObject, args []Value)
builtin_typedarrays.go:1379
↓ 3 callers
Function
uncapitalize
(s string)
object_goreflect.go:46
↓ 3 callers
Function
unknownStringTypeErr
(v Value)
string.go:337
↓ 3 callers
Method
updateLen
()
object_goarray_reflect.go:72
↓ 3 callers
Method
utf16RuneReader
()
string.go:66
↓ 3 callers
Method
utf16Runes
()
string.go:67
↓ 3 callers
Method
validate
()
func.go:916
↓ 3 callers
Method
valuePropToDescriptorObject
(desc Value)
builtin_object.go:31
↓ 3 callers
Method
vmCall
(vm *vm, n int)
object.go:186
↓ 3 callers
Method
writeByte
(b byte)
parser/regexp.go:126
↓ 3 callers
Function
writeHex4
(b *strings.Builder, i int)
builtin_regexp.go:57
↓ 3 callers
Method
writeItemLocaleString
(item Value, buf *StringBuilder)
builtin_array.go:253
↓ 2 callers
Method
Base
()
file/file.go:131
↓ 2 callers
Method
Call
(FunctionCall)
func.go:284
↓ 2 callers
Method
CompareTo
(String)
string.go:63
↓ 2 callers
Method
DefineAccessorProperty
DefineAccessorProperty is a Go equivalent of Object.defineProperty(o, name, {get: getter, set: setter, configurable: configurable, enumerable: enumera
value.go:867
↓ 2 callers
Method
Detached
Detached returns true if the ArrayBuffer is detached.
typedarrays.go:112
↓ 2 callers
Function
Dtoa
v must be > 0 and must not be Inf or NaN
ftoa/internal/fast/dtoa.go:619
↓ 2 callers
Method
Error
()
runtime.go:358
↓ 2 callers
Function
FToBaseStr
(num float64, radix int)
ftoa/ftobasestr.go:15
↓ 2 callers
Method
FieldName
FieldName returns a JavaScript name for the given struct field in the given type. If this method returns "" the field becomes hidden.
object_goreflect.go:23
↓ 2 callers
Method
Method
()
object_goreflect_test.go:276
↓ 2 callers
Method
NewArrayBuffer
NewArrayBuffer creates a new instance of ArrayBuffer backed by the provided byte slice. Warning: be careful when using unaligned slices (sub-slices t
typedarrays.go:122
↓ 2 callers
Method
NewDynamicObject
* NewDynamicObject creates an Object backed by the provided DynamicObject handler. All properties of this Object are Writable, Enumerable and Configu
object_dynamic.go:99
↓ 2 callers
Method
NewGoError
(err error)
runtime.go:549
↓ 2 callers
Method
NewPromise
NewPromise creates and returns a Promise and resolving functions for it. The returned errors will be uncatchable errors, such as InterruptedError or S
builtin_promise.go:628
↓ 2 callers
Method
Position
()
runtime.go:232
↓ 2 callers
Method
Result
()
builtin_promise.go:69
↓ 2 callers
Method
SameAs
(other Value)
value.go:1097
↓ 2 callers
Method
SetGlobalObject
SetGlobalObject sets the global object to the given object. Note, any existing references to the previous global object will continue to reference tha
runtime.go:2394
↓ 2 callers
Method
SetParserOptions
SetParserOptions sets parser options to be used by RunString, RunScript and eval() within the code.
runtime.go:2441
↓ 2 callers
Function
StartProfile
* StartProfile enables execution time profiling for all Runtimes within the current process. This works similar to pprof.StartCPUProfile and produces
profiler.go:330
↓ 2 callers
Method
StrictEquals
(other Value)
string_imported.go:109
↓ 2 callers
Method
StrictEquals
(other Value)
string_unicode.go:431
↓ 2 callers
Method
StrictEquals
(other Value)
string_ascii.go:285
↓ 2 callers
Method
String
()
value.go:195
↓ 2 callers
Method
String
()
value.go:598
↓ 2 callers
Function
TagFieldNameMapper
TagFieldNameMapper returns a FieldNameMapper that uses the given tagName for struct fields and optionally uncapitalises (making the first letter lower
object_goreflect.go:666
↓ 2 callers
Method
ToNumber
()
builtin_bigint.go:43
↓ 2 callers
Function
UncapFieldNameMapper
UncapFieldNameMapper returns a FieldNameMapper that uncapitalises struct field and method names making the first letter lower case.
object_goreflect.go:675
↓ 2 callers
Method
__isCompatibleDescriptor
(extensible bool, desc *PropertyDescriptor, current *valueProperty)
proxy.go:912
↓ 2 callers
Function
_dateSetMonth
(year int64, t time.Time, call FunctionCall, argNum int, utc bool)
builtin_date.go:579
↓ 2 callers
Method
_decode
(sv String, reservedSet *[256]bool)
builtin_global.go:125
↓ 2 callers
Method
_defineIdxProperty
(idx uint32, desc PropertyDescriptor, throw bool)
array.go:422
↓ 2 callers
Method
_defineIdxProperty
(idx int, desc PropertyDescriptor, throw bool)
typedarrays.go:872
↓ 2 callers
Method
_defineIdxProperty
(idx uint32, desc PropertyDescriptor, throw bool)
array_sparse.go:339
↓ 2 callers
Method
_defineProperties
(o *Object, p Value)
builtin_object.go:206
↓ 2 callers
Method
_delete
(prop string, throw bool)
object_dynamic.go:414
↓ 2 callers
Method
_delete
(idx int, throw bool)
object_dynamic.go:709
↓ 2 callers
Method
_deleteIdx
(idx int64)
object_goslice.go:248
↓ 2 callers
Method
_deleteIdx
(idx int)
object_goarray_reflect.go:265
↓ 2 callers
Method
_deleteIdxProp
(idx uint32, throw bool)
array.go:464
↓ 2 callers
Method
_deleteIdxProp
(idx uint32, throw bool)
array_sparse.go:393
↓ 2 callers
Method
_emitSetter
(rn *resolvedPrivateName, id *privateId)
compiler_expr.go:672
↓ 2 callers
Method
_encode
(uriString String, unescaped *[256]bool)
builtin_global.go:66
↓ 2 callers
Method
_get
(n Value)
object_gomap_reflect.go:54
↓ 2 callers
Method
_getFieldValue
(name string)
object_goreflect.go:247
↓ 2 callers
Method
_getIdx
(idx uint32)
array_sparse.go:88
↓ 2 callers
Method
_getKey
(key reflect.Value)
object_gomap_reflect.go:39
↓ 2 callers
Method
_getStr
(name string)
object_gomap.go:21
↓ 2 callers
Method
_getStr
(name string)
object_gomap_reflect.go:58
↓ 2 callers
Method
_hasIdx
(idx valueInt)
object_goarray_reflect.go:76
↓ 2 callers
Method
_init
()
object_goarray_reflect.go:59
↓ 2 callers
Method
_newProxyObject
(target *Object, handler proxyHandler, proto *Object)
proxy.go:40
↓ 2 callers
Method
_newRegExp
(patternStr String, flags string, proto *Object)
builtin_regexp.go:302
↓ 2 callers
Method
_setLengthInt
(l uint32, throw bool)
array.go:81
↓ 2 callers
Method
_setLengthInt
(l uint32, throw bool)
array_sparse.go:33
↓ 2 callers
Method
_setOwnIdx
(idx uint32, val Value, throw bool)
array.go:214
↓ 2 callers
Method
_setOwnIdx
(idx uint32, val Value, throw bool)
array_sparse.go:152
↓ 2 callers
Method
_setSym
(throw bool)
object_dynamic.go:249
↓ 2 callers
Method
_stringPad
(call FunctionCall, start bool)
builtin_string.go:482
↓ 2 callers
Method
addPrototype
()
func.go:213
↓ 2 callers
Method
addReactions
(fulfillReaction *promiseReaction, rejectReaction *promiseReaction)
builtin_promise.go:152
↓ 2 callers
Method
addSample
(pt *profTracker)
profiler.go:64
↓ 2 callers
Function
advanceStringIndex
(s String, pos int, unicode bool)
builtin_regexp.go:969
↓ 2 callers
Function
advanceStringIndex64
(s String, pos int64, unicode bool)
builtin_regexp.go:987
↓ 2 callers
Method
apply
(call FunctionCall)
proxy.go:889
↓ 2 callers
Method
arrayproto_concat_append
(a *Object, item Value)
builtin_array.go:307
↓ 2 callers
Function
asUncatchableException
(v interface{})
runtime.go:1421
↓ 2 callers
Function
biggestPowerTen
Returns the biggest power of ten that is less than or equal than the given number. We furthermore receive the maximum number of bits 'number' has. If
ftoa/internal/fast/dtoa.go:207
↓ 2 callers
Function
buildPosMap
(rd io.RuneReader, l, start int)
regexp.go:395
↓ 2 callers
Method
builtinJSON_decodeToken
(d *json.Decoder, tok json.Token)
builtin_json.go:50
↓ 2 callers
Method
builtinJSON_decodeValue
(d *json.Decoder)
builtin_json.go:74
↓ 2 callers
Method
callJobCallback
(job *jobCallback, this Value, args ...Value)
runtime.go:2954
↓ 2 callers
Method
checkBindLexGlobal
(names []unistring.String)
vm.go:4229
↓ 2 callers
Method
checkComma
(from, to file.Idx)
parser/expression.go:1417
↓ 2 callers
Method
checkConstantString
(expr compiledExpr)
compiler_expr.go:860
↓ 2 callers
Method
checkDeleteProp
(name unistring.String, prop *valueProperty, throw bool)
object.go:382
↓ 2 callers
Method
checkDetached
()
builtin_typedarrays.go:25
↓ 2 callers
Method
checkSuperBase
(idx file.Idx)
compiler_expr.go:626
↓ 2 callers
Function
checkTypedArrayMixBigInt
(src, dst *Object)
builtin_typedarrays.go:1479
↓ 2 callers
Method
clearStack
()
vm.go:3645
↓ 2 callers
Method
closeScope
()
parser/scope.go:31
↓ 2 callers
Function
compile
(name, src string, strict, inGlobal bool, evalVm *vm, parserOptions ...parser.Option)
runtime.go:1350
↓ 2 callers
Method
compile
()
compiler_expr.go:1323
↓ 2 callers
Function
compileAST
(prg *js_ast.Program, strict, inGlobal bool, evalVm *vm)
runtime.go:1359
↓ 2 callers
Method
compileClassLiteral
(v *ast.ClassLiteral, isExpr bool)
compiler_expr.go:2228
← previous
next →
701–800 of 4,701, ranked by callers