Type Methods and Properties

June 26, 2026 ยท View on GitHub

Status of built-in methods and properties on GiavaScript runtime types.

String

MemberKindStatus
lengthInstance propertyAvailable
at()Instance methodAvailable
charAt()Instance methodAvailable
charCodeAt()Instance methodAvailable
codePointAt()Instance methodAvailable
concat()Instance methodAvailable
endsWith()Instance methodAvailable
fromCharCode()Static methodAvailable
includes()Instance methodAvailable
indexOf()Instance methodAvailable
isWellFormed()Instance methodAvailable
lastIndexOf()Instance methodAvailable
localeCompare()Instance methodAvailable
match()Instance methodAvailable
matchAll()Instance methodAvailable
padEnd()Instance methodAvailable
padStart()Instance methodAvailable
repeat()Instance methodAvailable
replace()Instance methodAvailable
replaceAll()Instance methodAvailable
search()Instance methodAvailable
slice()Instance methodAvailable
split()Instance methodAvailable
startsWith()Instance methodAvailable
substr()Instance methodNot available
substring()Instance methodAvailable
toLocaleLowerCase()Instance methodAvailable
toLocaleUpperCase()Instance methodAvailable
toLowerCase()Instance methodAvailable
toString()Instance methodAvailable
toUpperCase()Instance methodAvailable
toWellFormed()Instance methodAvailable
trim()Instance methodAvailable
trimEnd()Instance methodAvailable
trimStart()Instance methodAvailable
valueOf()Instance methodAvailable

Number

MemberKindStatus
isFinite()Static methodAvailable
isInteger()Static methodAvailable
isNaN()Static methodAvailable
toString()Instance methodAvailable

Array

MemberKindStatus
from()Static methodAvailable
fromAsync()Static methodNot available
isArray()Static methodAvailable
of()Static methodAvailable
lengthInstance propertyAvailable
at()Instance methodAvailable
concat()Instance methodAvailable
copyWithin()Instance methodAvailable
entries()Instance methodAvailable
every()Instance methodAvailable
fill()Instance methodAvailable
filter()Instance methodAvailable
find()Instance methodAvailable
findIndex()Instance methodAvailable
findLast()Instance methodAvailable
findLastIndex()Instance methodAvailable
flat()Instance methodAvailable
flatMap()Instance methodAvailable
forEach()Instance methodAvailable
includes()Instance methodAvailable
indexOf()Instance methodAvailable
join()Instance methodAvailable
keys()Instance methodAvailable
lastIndexOf()Instance methodAvailable
map()Instance methodAvailable
pop()Instance methodAvailable
push()Instance methodAvailable
reduce()Instance methodAvailable
reduceRight()Instance methodAvailable
reverse()Instance methodAvailable
shift()Instance methodAvailable
slice()Instance methodAvailable
some()Instance methodAvailable
sort()Instance methodAvailable
splice()Instance methodAvailable
toLocaleString()Instance methodNot available
toReversed()Instance methodNot available
toSorted()Instance methodNot available
toSpliced()Instance methodNot available
toString()Instance methodAvailable
unshift()Instance methodAvailable
values()Instance methodAvailable
with()Instance methodNot available

Array callback argument behavior

  • In array methods that accept callbacks, JavaScript-compatible argument normalization applies to user-defined function expressions and references to function declarations.
  • Extra callback arguments are ignored.
  • Missing callback arguments are passed as undefined.

Object

MemberKindStatus
assign()Static methodAvailable
entries()Static methodAvailable
hasOwn()Static methodAvailable
keys()Static methodAvailable
toString()Instance methodAvailable
values()Static methodAvailable

Boolean

MemberKindStatus
toString()Instance methodAvailable

Date

MemberKindStatus
getTime()Instance methodAvailable
toString()Instance methodAvailable

Date notes

  • In Node.js, Date.prototype.toString() usually prints a locale/timezone representation.
  • In GiavaScript, Date.prototype.toString() returns a UTC ISO-like string (YYYY-MM-DDTHH:mm:ss.SSSZ) by design.

Error

MemberKindStatus
Error()ConstructorAvailable
messageInstance propertyAvailable
nameInstance propertyAvailable
stackInstance propertyAvailable
toString()Instance methodAvailable
TypeError()ConstructorAvailable
ReferenceError()ConstructorAvailable
SyntaxError()ConstructorAvailable

Error notes

  • new Error("message") creates an error object with the given message.
  • name defaults to "Error". Subtypes use their constructor name.
  • stack returns a string representation of the call stack.
  • toString() returns "name: message".
  • Error objects can be thrown with throw and caught with try/catch.
  • Raw value throws continue to work alongside Error objects.

Notes

  • This reflects the current behavior in the interpreter and specs.