LJHarb

সদস্য তারিখ থেকে
LJHarb

সাম্প্রতিক ডকুমেন্টেশন কার্যক্রম

সমস্ত কার্যকলাপ দেখুন
পৃষ্ঠা তারিখ মন্তব্য

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."