Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js>getOwnEnumerablePropertySymbols

BDD / TDD assertion framework for node.js and the browser that can be paired with any testing framework.
Latest
function getOwnEnumerablePropertySymbols
import { getOwnEnumerablePropertySymbols } from "https://deno.land/x/chai@v5.1.2/lib/chai/utils/getOwnEnumerablePropertySymbols.js";

.getOwnEnumerablePropertySymbols(object)

This allows the retrieval of directly-owned enumerable property symbols of an object. This function is necessary because Object.getOwnPropertySymbols returns both enumerable and non-enumerable property symbols.