LJHarb

Member since
LJHarb

Recent Docs Activity

View all activity
Page Date Comment

Array.from()


Revert to revision of 2019-08-21 14:22:33.645175 by LJHarb: "This isn't "called duck typing"; this is Array.from being specified to handle arraylike objects, which have a length property. This sentence adds more confusion than it removes."

Array.from()


`undefined` can be redefined, so `void` is required; the ||, not the && is correct here.

Array.from()


`x == null` covers both null and undefined; as does `== undefined`; adding `== undefined` here is redundant.

globalThis


I'm the proposal champion for `globalThis`; hopefully this improves the article a bit.

Array.from()


Revert to revision of 2019-03-21 03:36:22.862629 by chrisdavidmills: "toString is not superfluous; older engines, and host objects in modern engines, can report typeof function on non-functions, and can report a different typeof on a function."