Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dop251/goja
/ _has
Method
_has
object_dynamic.go:674–676 ·
view source on GitHub ↗
(idx int)
Source
from the content-addressed store, hash-verified
672
}
673
674
func
(a *dynamicArray) _has(idx int) bool {
675
return
idx >= 0 && idx < a.a.Len()
676
}
677
678
func
(a *dynamicArray) hasOwnPropertyStr(u unistring.String) bool {
679
if
u ==
"length"
{
Callers
3
hasOwnPropertyStr
Method · 0.95
hasOwnPropertyIdx
Method · 0.95
_delete
Method · 0.95
Calls
1
Len
Method · 0.65
Tested by
no test coverage detected