function

jsc.jscDescribeArray

array: any[]
): string;

Describes the storage behind an object's indexed elements: the address of its "butterfly" (the out-of-line buffer JavaScriptCore keeps elements in), the public length, and the "vector length" (the number of element slots allocated, which can exceed length).

Returns "<not object>" for primitives.

import { jscDescribeArray } from "bun:jsc";

jscDescribeArray([1, 2, 3]); // "<Butterfly: 0x...; public length: 3; vector length: 3>"