00:02:04  * keith_millerjoined
00:16:03  * stpeterquit (Quit: stpeter)
00:19:50  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:49:28  * vikash-afkquit (Remote host closed the connection)
01:02:37  * keith_millerjoined
01:02:48  * vikash-afkjoined
01:27:59  * akirosejoined
01:28:51  * aki_quit (Ping timeout: 240 seconds)
01:41:53  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:50:56  * keith_millerjoined
02:10:53  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:12:49  * keith_millerjoined
02:13:53  * benwiley4000joined
02:14:17  * aki_joined
02:14:56  * surma_joined
02:16:05  <benwiley4000>Hi folks, I'm super new here. I just finished a very first draft of a proposal for a new method called Array.prototype.replace. I could use advice/champions :) https://github.com/benwiley4000/array-replace
02:16:40  <benwiley4000>(it's also a polyfill you can try)
02:16:58  * gkatsev_joined
02:17:22  * ephemera__joined
02:17:29  * IgnoredA1biencejoined
02:18:56  * awx_joined
02:19:22  * akirosequit (Ping timeout: 240 seconds)
02:19:29  * ephemera_quit (Ping timeout: 240 seconds)
02:19:31  * surmaquit (Ping timeout: 260 seconds)
02:19:31  * gkatsevquit (Ping timeout: 260 seconds)
02:19:32  * IgnoredAmbiencequit (Ping timeout: 260 seconds)
02:19:33  * awxquit (Ping timeout: 260 seconds)
02:19:35  * surma_quit (Changing host)
02:19:35  * surma_joined
02:19:35  * surma_changed nick to surma
02:27:52  <devsnek>benwiley4000: es-discuss@mozilla.org is a good place to iterate
02:28:43  <devsnek>i don't really understand this though
02:28:57  <devsnek>oh it makes a clone
02:29:29  <benwiley4000>yeah
02:29:47  <devsnek>i don't think this is super needed tbh
02:31:00  <benwiley4000>it's mainly frustrating that the language is now set up to provide an easy way to do this with object literals but not arrays even though replacing a item in an array is a common use case
02:31:44  <devsnek>replacing an item in an array yes
02:31:52  <devsnek>also creating a whole new array not so much
02:32:11  <devsnek>i find this thing with state where everything has to be duplicated to be a misunderstanding of how to use js
02:32:14  <devsnek>but thats just my opinion
02:33:27  <benwiley4000>haha yeah well I tend to disagree, as do many, but I do understand where you're coming from :) mutation doesn't always have to be avoided but man does it making debugging more reliable sometimes :)
02:33:40  <benwiley4000>*avoiding mutation
02:34:38  <benwiley4000>also to be clear this is a shallow clone not a deep clone
02:41:41  <benwiley4000>also to be clear I'm not at all suggesting this should be chosen over splice in all circumstances but I think it has some compelling use cases which I outlined :)
02:41:42  * benwiley4000quit (Read error: Connection reset by peer)
03:18:17  * jwaldenquit (Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805])
04:06:45  * jmdyckquit (Remote host closed the connection)
04:18:01  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:20:55  * aki_quit (Ping timeout: 244 seconds)
04:21:10  * akirosejoined
05:20:40  * gibson042quit (Ping timeout: 245 seconds)
05:23:37  * cloudshuquit (Quit: Connection closed for inactivity)
06:26:27  * aki_joined
06:27:56  * akirosequit (Ping timeout: 268 seconds)
07:56:22  * akoserwajoined
07:56:25  * akoserwachanged nick to akoserwa|lunch
08:25:07  * keith_millerjoined
08:32:10  * akirosejoined
08:32:57  * aki_quit (Ping timeout: 240 seconds)
09:41:48  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:25:09  * mylesborinsquit (Quit: farewell for now)
10:25:18  * mylesborinsjoined
10:38:24  * aki_joined
10:40:11  * akirosequit (Ping timeout: 276 seconds)
10:59:48  * jmdyckjoined
11:45:54  * Oguz_joined
12:25:39  * akoserwa|lunchquit (Remote host closed the connection)
12:26:00  * akoserwa|lunchjoined
12:45:08  * akirosejoined
12:45:51  * aki_quit (Ping timeout: 240 seconds)
12:46:50  * IgnoredA1biencechanged nick to IgnoredAmbience
12:58:42  * Oguz_quit (Ping timeout: 252 seconds)
13:23:13  * cloudshujoined
13:23:28  * cloudshuquit (Changing host)
13:23:28  * cloudshujoined
14:32:07  * stpeterjoined
14:50:20  * aki_joined
14:51:34  * akirosequit (Ping timeout: 260 seconds)
15:14:10  * akoserwa|lunchquit (Quit: Leaving)
15:26:08  * gkatsev_changed nick to gkatsev
15:43:09  * dpkquit (Quit: .)
15:43:25  * dpkjoined
15:45:17  * jwaldenjoined
15:48:02  * keith_millerjoined
16:21:32  <bradleymeck>i wonder if destructuring should let you delete stuff... `let {remove: delete, ...rest} = {remove: 1, x: 2, y: 3}` -> `rest == {x:2,y:3}`
16:22:08  <bradleymeck>might get a bit wonky though since `delete` has a bunch of things that it could do
16:28:18  <cloudshu>bradleymeck: wait what do you mean by delete
16:28:29  <cloudshu>you mean omission when constructing a new object?
16:28:32  <bradleymeck>yea
16:28:34  <cloudshu>or do you mean deleting from the thing matching
16:28:35  <cloudshu>oh okay
16:28:44  <bradleymeck>right now you can use throwaway variables... but that gets weird
16:28:59  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:29:03  <cloudshu>because you gotta find fresh names yourself?
16:30:02  <bradleymeck>I never do that XD
16:30:38  <cloudshu>gensym proposal? :)
16:31:17  <bradleymeck>{let rest; { let _; ({remove: _, also: _, ...rest} = {remove: 0, also: 1, x: 2, y: 3}); }; rest}
16:31:27  <bradleymeck>gensym?
16:31:44  <bradleymeck>I just want to send the result to the void
16:32:54  <bradleymeck>no clue how this would work for array destructuring though, if it would make a hole or ... ?
16:33:04  <devsnek>`let { remove: void } = ...`
16:41:48  * keith_millerjoined
16:42:41  <bradleymeck>i think the main thing here is I'd prefer if no get/has trap was fired but i guess would be odd
16:44:45  <cloudshu>bradleymeck: gensym's a lisp-ism to generate fresh names
16:47:15  <bradleymeck>cloudshu: but wouldn't you still fire get/has traps
16:47:42  <bradleymeck>i truly don't care about/want those properties so why fire traps?
16:49:48  <cloudshu>bradleymeck: yes, you would. i misunderstood the problem, i thought you were mainly after the ability to not having to pick fresh names
16:53:56  <bradleymeck>nah, block statement plus `_` get the job done
16:57:16  * akirosejoined
16:57:37  * aki_quit (Ping timeout: 248 seconds)
18:54:13  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
19:02:06  * keith_millerjoined
19:03:41  * aki_joined
19:05:10  * akirosequit (Ping timeout: 264 seconds)
19:45:59  * AtumT_joined
19:48:35  * AtumTquit (Ping timeout: 255 seconds)
19:59:13  * AtumTjoined
19:59:21  * AtumT_quit (Ping timeout: 240 seconds)
20:16:05  * Draggorquit (Ping timeout: 240 seconds)
20:17:42  * Draggorjoined
21:10:26  * akirosejoined
21:11:31  * aki_quit (Ping timeout: 244 seconds)
23:15:27  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:16:18  * aki_joined
23:17:25  * akirosequit (Ping timeout: 268 seconds)