02:01
<rkirsling>
.tellMeWhy
returns { aintNothinButA: SyntaxError }
02:27
<Rob Palmer>
ensures assert.doesNotMatch(e.message, /ThatWay/)
09:29
<annevk>
Has collection.isEmpty() ever been suggested?
09:49
<Ashley Claymore>
For Array too? To gloss over length vs size?
09:57
<annevk>
Dunno, just curious if it came up in general for any kind of collection I suppose. There's some demand for it for URLSearchParams.
18:28
<ljharb>
x.isEmpty() vs x.size === 0 doesn't seem hugely valuable
18:29
<littledan>
Dunno, just curious if it came up in general for any kind of collection I suppose. There's some demand for it for URLSearchParams.
Do you have a reference on-hand to this demand?
18:30
<littledan>
(I guess I'm also a little surprised; I haven't seen this demand raised in a general JS context)