@aescling in fairness it’s an easy mistake but yeah the second argument to ToPrimitive is just a hint and not a guarantee of the actual return type
@aescling what no it doesn’t
(spec text follows)
When BigInt is called with argument value, the following steps are taken:
1. If NewTarget is not undefined, throw a TypeError exception.
2. Let prim be ? ToPrimitive(value, `number`).
3. If Type(prim) is Number, return ? NumberToBigInt(prim).
4. Otherwise, return ? ToBigInt(value).
(end spec text)
ToPrimitive(string, `number`) === string since strings are already primitives; that step does nothing
@aescling ~~if web developers knew how to read a spec we wouldn’t need the MDN~~
@KitRedgrave how come i never see people throwing bricks then
if your posts are indistinguishable from that of a CIA plant trying to sow controversy and foil collective action, maybe consider making different posts
@aescling i mean “conservative” now doesn't mean “conserving the current state of affairs” but “returning to a previous state of affairs prior to some progress” and one could argue by the same token that the point of reference for “progressive” is not the present day
@aescling you don't have to all-or-nothing merge
@aescling cat just make an MR for the things you want
@aescling if we had a functioning government, all of these things would be on the table right now
@aescling we need, as amendments to the constitution:
1. equal rights amendment
2. overturning of citizens united
3a. something to deal with gerrymandering
3b. probably something else to revise or replace the electoral college
4. the ability of congress to pass laws regulating and providing for healthcare
5. explicit right to privacy and/or autonomy in matters such as those necessary for abortion rights, gay rights, etc…
(6…??. clarification on frankly a bunch of points, from gun control to copyright and IP law)
@aescling there is no passage in the constitution allowing congress to pass bills in the name of human rights, and without Roe there is likewise nothing preventing states from passing bills which violate them
@aescling congress probably doesn't have the power to regulate this sort of thing with a bill though
@aescling a new amendment to the US constitution hasn't been proposed by Congress since 1978
it’s a bit exhausting seeing all the posts about the recent supreme court speculation as if this were an out-of-nowhere act from on high, and not a known thing that people in this country have had decades to plan for (and also work to prevent).
this isn’t sudden. it was known this was coming. dust yourself off and get organizing.
Administrator / Public Relations for GlitchCat. Not actually glitchy, nor a cat. I wrote the rules for this instance.
“Constitutionally incapable of not going hard” — @aescling
“Fedi Cassandra” – @Satsuma
I HAVE EXPERIENCE IN THINGS. YOU CAN JUST @ ME.
I work for a library but I post about Zelda fanfiction.