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
↓ 21 callers
Method
_setForeignStr
(name unistring.String, prop, val, receiver Value, throw bool)
object.go:548
↓ 21 callers
Function
createDataPropertyOrThrow
(o *Object, p Value, v Value)
runtime.go:2674
↓ 21 callers
Method
isValidIntegerIndex
(idx int)
typedarrays.go:779
↓ 20 callers
Method
ensureScanned
()
string_imported.go:36
↓ 20 callers
Method
getIdxAndByteOrder
(getIdx int, littleEndianVal Value, size int)
typedarrays.go:1054
↓ 20 callers
Method
next
(v Value)
func.go:871
↓ 20 callers
Function
relToIdx
(rel, l int64)
builtin_array.go:61
↓ 19 callers
Function
AssertFunction
AssertFunction checks if the Value is a function and returns a Callable. Note, for classes this returns a callable and a 'true', however calling it wi
runtime.go:2468
↓ 19 callers
Function
_DCHECK
(f bool)
ftoa/internal/fast/common.go:14
↓ 19 callers
Method
constant
()
compiler_expr.go:18
↓ 19 callers
Function
devirtualizeString
(s String)
string.go:320
↓ 19 callers
Method
getIterator
(obj Value, method func(FunctionCall) Value)
runtime.go:2702
↓ 19 callers
Method
hasPropertyIdx
(idx valueInt)
object.go:170
↓ 19 callers
Method
iterate
(step func(Value))
runtime.go:2736
↓ 19 callers
Method
parse
()
parser/parser.go:211
↓ 19 callers
Method
parseAssignmentExpression
()
parser/expression.go:1234
↓ 19 callers
Method
testScriptWithTestLib
(script string, expectedResult Value, t *testing.T)
compiler_test.go:206
↓ 18 callers
Method
checkStdArrayObj
(obj *Object)
builtin_array.go:1423
↓ 18 callers
Method
newErrorf
(typ *Object, format string, args ...interface{})
runtime.go:471
↓ 18 callers
Method
throwSyntaxErrorf
(offset int, format string, args ...interface{})
compiler.go:1288
↓ 18 callers
Method
toBoolean
(b bool)
runtime.go:1287
↓ 18 callers
Method
unset
()
date.go:114
↓ 17 callers
Function
NewFromString
(s string)
unistring/string.go:59
↓ 17 callers
Method
getFunctionPrototype
()
builtin_function.go:266
↓ 17 callers
Method
iterateStringKeys
()
object.go:200
↓ 17 callers
Method
newBaseObject
(proto *Object, class string)
runtime.go:509
↓ 17 callers
Method
newIter
()
map.go:150
↓ 17 callers
Function
newSymbol
(s String)
value.go:1143
↓ 17 callers
Function
testFToStr
(num float64, mode FToStrMode, precision int, expected string, t *testing.T)
ftoa/ftostr_test.go:19
↓ 17 callers
Method
toReflectValue
(v Value, dst reflect.Value, ctx *objectExportCtx)
runtime.go:2067
↓ 16 callers
Function
newBaseObjectObj
(obj, proto *Object, class string)
runtime.go:487
↓ 16 callers
Method
parseExpression
()
parser/expression.go:1397
↓ 16 callers
Function
strToArrayIdx
(s unistring.String)
runtime.go:2980
↓ 16 callers
Method
throw
()
value.go:971
↓ 16 callers
Function
timeToMsec
(t time.Time)
date.go:85
↓ 16 callers
Method
timeUTC
()
date.go:122
↓ 15 callers
Method
NewProxy
(target *Object, nativeHandler *ProxyTrapConfig)
builtin_proxy.go:351
↓ 15 callers
Method
_put
(name unistring.String, v Value)
object.go:786
↓ 15 callers
Method
boolProxyCall
(trap proxyTrap, args ...Value)
proxy.go:170
↓ 15 callers
Method
emitLoadThis
()
compiler_expr.go:2284
↓ 15 callers
Method
exec
(*vm)
vm.go:389
↓ 15 callers
Method
isDynamic
()
compiler.go:886
↓ 15 callers
Function
newObjectTemplate
()
object_template.go:46
↓ 15 callers
Method
pass
()
parser/regexp.go:460
↓ 15 callers
Method
popTryFrame
()
vm.go:773
↓ 15 callers
Method
setTimeMs
(ms int64)
date.go:100
↓ 15 callers
Function
strToGoIdx
(s unistring.String)
runtime.go:3178
↓ 15 callers
Function
strToInt64
(s unistring.String)
runtime.go:3087
↓ 15 callers
Method
stringKeys
(all bool, accum []Value)
object.go:204
↓ 15 callers
Function
tt
Quick and dirty replacement for terst
parser/testutil_test.go:12
↓ 14 callers
Method
Add
(prefix string)
tc39_test.go:451
↓ 14 callers
Method
error
(fatal bool, msg string, msgValues ...interface{})
parser/regexp.go:485
↓ 14 callers
Method
errorUnexpectedToken
(tkn token.Token)
parser/error.go:100
↓ 14 callers
Method
getPrototypeFromCtor
(newTarget, defCtor, defProto *Object)
runtime.go:3209
↓ 14 callers
Method
nextStatement
Find the next statement after an error (recover)
parser/statement.go:1048
↓ 14 callers
Method
popCtx
()
vm.go:927
↓ 14 callers
Method
setStr
(target *Object, prop unistring.String, value Value, receiver Value)
proxy.go:134
↓ 14 callers
Function
toInt32
(v Value)
runtime.go:1108
↓ 14 callers
Function
toUint32
(v Value)
runtime.go:1123
↓ 14 callers
Method
toValue
(*Runtime)
value.go:99
↓ 14 callers
Method
try
(f func())
vm.go:854
↓ 13 callers
Method
Name
()
file/file.go:123
↓ 13 callers
Method
compileStatement
(v ast.Statement, needResult bool)
compiler_stmt.go:10
↓ 13 callers
Method
deleteIdx
(idx valueInt, throw bool)
object.go:182
↓ 13 callers
Method
emitUnary
(prepare, body func(), postfix, putOnStack bool)
compiler_expr.go:16
↓ 13 callers
Method
expand
(idx int)
vm.go:442
↓ 13 callers
Function
getDigits
(s string, minDigits, maxDigits int)
date_parser.go:53
↓ 13 callers
Method
hasPropertyStr
(unistring.String)
object.go:169
↓ 13 callers
Function
newOrderedMap
(h *maphash.Hash)
map.go:143
↓ 13 callers
Method
popScope
()
compiler.go:385
↓ 13 callers
Method
proto
()
object.go:188
↓ 13 callers
Function
strToInt
(s unistring.String)
runtime.go:3144
↓ 13 callers
Function
strToInt32
(s unistring.String)
runtime.go:3030
↓ 13 callers
Function
toIdx
(v valueInt)
array.go:560
↓ 13 callers
Function
typeErrorResult
(throw bool, args ...interface{})
value.go:1185
↓ 12 callers
Function
_dateSetFullYear
(t time.Time, call FunctionCall, argNum int, utc bool)
builtin_date.go:565
↓ 12 callers
Method
bindNameLexical
(name unistring.String, unique bool, offset int)
compiler.go:549
↓ 12 callers
Method
evalConst
(expr compiledExpr)
compiler_expr.go:2433
↓ 12 callers
Function
exportValue
(v Value, ctx *objectExportCtx)
value.go:1136
↓ 12 callers
Method
isExtensible
(target *Object)
proxy.go:115
↓ 12 callers
Method
newBlockScope
()
compiler.go:377
↓ 12 callers
Method
setOwn
(name Value, val Value, throw bool)
object.go:1521
↓ 12 callers
Function
skip
(s string, c byte)
date_parser.go:14
↓ 11 callers
Method
Bool
()
runtime.go:165
↓ 11 callers
Method
Concat
(String)
string.go:61
↓ 11 callers
Function
IsNaN
IsNaN returns true if the supplied value is NaN.
runtime.go:2541
↓ 11 callers
Method
SetFieldNameMapper
SetFieldNameMapper sets a custom field name mapper for Go types. It can be called at any time, however the mapping for any given value is fixed at the
object_goreflect.go:656
↓ 11 callers
Method
_newTypedArray
(args []Value, newTarget *Object, taCtor typedArrayObjectCtor, proto *Object)
builtin_typedarrays.go:1509
↓ 11 callers
Method
_newTypedArrayObject
(buf *arrayBufferObject, offset, length, elemSize int, defCtor *Object, arr typedArray, proto *Object)
typedarrays.go:986
↓ 11 callers
Method
_setForeignIdx
(idx valueInt, prop, val, receiver Value, throw bool)
object.go:571
↓ 11 callers
Method
assertConstructor
()
object.go:187
↓ 11 callers
Method
baseObject
(r *Runtime)
value.go:93
↓ 11 callers
Method
createTypedArrayCtor
(val *Object, ctor func(args []Value, newTarget, proto *Object) *Object, name unistring.String, bytesPerElemen
builtin_typedarrays.go:1624
↓ 11 callers
Method
defineOwnProperty
(n Value, desc PropertyDescriptor, throw bool)
object.go:1615
↓ 11 callers
Method
getByName
(name unistring.String)
vm.go:497
↓ 11 callers
Method
getOwnPropSym
(*Symbol)
object.go:159
↓ 11 callers
Method
markAccessPoint
()
compiler.go:130
↓ 11 callers
Method
proxyCall
(trap proxyTrap, args ...Value)
proxy.go:157
↓ 11 callers
Method
pushCtx
()
vm.go:911
↓ 11 callers
Method
putSym
(s *Symbol, f templatePropFactory)
object_template.go:57
← previous
next →
101–200 of 4,701, ranked by callers