00:38:47  * AtumTquit (Remote host closed the connection)
01:10:14  * howdoiquit (Quit: Connection closed for inactivity)
01:54:36  <devsnek>how come property names are already coerced in proxy traps
02:50:59  <not-an-aardvark>devsnek: I think it's because the idea of accessing a property in JS is only defined for strings and symbols.
02:51:11  <not-an-aardvark>It isn't the case non-proxy objects have some "default" coercion behavior which could be overridden by a Proxy (which would imply that the proxy could access the un-coerced version). Instead, `foo[bar]` means "convert `bar` to a property key, and perform the [[Get]] operation with that key". So coercion happens before the target object is involved.
03:09:27  * keith_millerjoined
03:30:42  <devsnek>i guess that makes sense
03:30:53  <devsnek>feels a bit limiting though
03:38:03  * cloudshuquit (Quit: Connection closed for inactivity)
04:33:19  * gibson042quit (Ping timeout: 252 seconds)
04:36:49  * caridyquit (Ping timeout: 260 seconds)
05:40:59  * jmdyck1quit (Remote host closed the connection)
07:16:17  * bstorozquit (Ping timeout: 240 seconds)
07:16:17  * samthquit (Write error: Connection reset by peer)
07:16:22  * bstoroz_joined
07:16:22  * caiolimaquit (Read error: Connection reset by peer)
07:16:29  * samthjoined
07:16:33  * TabAtkinsquit (Read error: Connection reset by peer)
07:16:33  * keithamusquit (Read error: Connection reset by peer)
07:16:33  * d_runquit (Read error: Connection reset by peer)
07:16:45  * TabAtkinsjoined
07:16:47  * d_runjoined
07:18:46  * caiolimajoined
07:18:47  * keithamusjoined
07:18:47  * caiolimaquit (Changing host)
07:18:48  * caiolimajoined
07:18:48  * keithamusquit (Changing host)
07:18:48  * keithamusjoined
07:46:23  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:55:34  * keith_millerjoined
08:06:02  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:09:48  * keith_millerjoined
09:48:26  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:25:12  * mylesborinsquit (Quit: farewell for now)
10:25:42  * mylesborinsjoined
10:37:47  <ljharb>devsnek: intentionally so
10:38:56  <ljharb>it shouldn't be possible to make an object that has different behavior for `obj['foo']` and `obj[{ toString() { return 'foo'; } }]`
11:34:14  * cloudshujoined
11:58:58  * not-an-aardvarkquit (Quit: Connection closed for inactivity)
12:25:30  * jmdyckjoined
14:09:38  * caridyjoined
14:14:10  * caridyquit (Ping timeout: 264 seconds)
14:29:44  * gibson042joined
14:30:44  * cloudshuquit (Quit: Connection closed for inactivity)
14:30:51  * gibson042quit (Read error: Connection reset by peer)
14:48:54  * gibson042joined
14:53:57  <devsnek>but it should be possible to make an object that has different behavior for `obj['foo']` depending when its called?
14:54:39  <devsnek>i feel like this goes down a rabbit hole
14:57:33  <samth>devsnek: that's easy with getters, for example
14:57:51  <devsnek>not-an-aardvark's argument made sense
14:57:59  <devsnek>explanation*
14:58:29  <devsnek>but once you start arguing about should and shouldn't be possible things get wiggly
14:58:47  <Bakkot>sure, but that’s no excuse not to do it
14:59:51  <devsnek>alright i'll bite 😓. why shouldn't ljharb's two examples be able to be handled differently through a proxy
15:00:46  <samth>devsnek: because we didn't want to change the idea that those two programs behaved the same
15:03:25  <devsnek>seems reasonable
15:09:22  * keith_millerjoined
15:16:20  * keith_millerquit (Remote host closed the connection)
15:17:07  * keith_millerjoined
16:08:07  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:09:20  * keith_millerjoined
17:42:19  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:55:51  * not-an-aardvarkjoined
18:11:05  * gibson042quit (Quit: Leaving.)
18:40:42  * keith_millerjoined
19:15:30  <devsnek>littledan: what is "1js"
19:16:35  <devsnek>is that like how many jses there are?
19:38:58  * cloudshujoined
22:16:59  * AtumTjoined
22:40:20  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:52:05  * keith_millerjoined