]> Lady’s Gitweb - Pisces/commit
Treat object function args more consistently 0.1.3
authorLady <redacted>
Sun, 4 Sep 2022 21:47:15 +0000 (14:47 -0700)
committerLady <redacted>
Fri, 12 May 2023 03:56:47 +0000 (20:56 -0700)
commitc1364974d7add579702210b7dfe8396ea20c0ccf
treebe66334f96597a0327066c0f1c3928157c183b32
parent20911ecea4d7c09ac104d4e059975444bb4238d7
Treat object function args more consistently

Functions like getOwnPropertyKeys now do not require that their
arguments are objects, but *do* require that they are not null or
undefined. Similarly, toObject now throws for null and undefined
values, rather than returning an empty object. Use `toObject($ ?? {})`
if you need the old behaviour.
object.js
object.test.js
This page took 0.024154 seconds and 4 git commands to generate.