| 02:20 | <rkirsling> | TIL that array and object literals weren't in the spec until ES3 (and trailing commas in object literals not until ES5) |
| 02:21 | <rkirsling> | wonder what browsers actually did during that period though |
| 06:23 | <snek> | not sure about object literals but if you look at old old websites they do new Array(values) or assign values afterwards, so i would imagine there were truly no array literals at the time. |
| 07:00 | <eemeli> | Array literals were supported by Netscape Navigator 4's JavaScript 1.2: https://faculty.kfupm.edu.sa/ics/sukairi/490/Javascript/rearray.htm |
| 07:03 | <rkirsling> | nice |
| 07:04 | <snek> |
|
| 07:04 | <snek> | so i guess it was indeed that you had to new Object() and then add properties |
| 08:47 | <Ashley Claymore> | does anyone know if the syntax was inspired from another language? Specifically using curly '{....}` for a literal value |
| 14:11 | <peetk> | python dict literals? |
| 14:15 | <Ashley Claymore> | ah right. Python 1 would have been out by then. Timelines were mixed round in my head |
| 14:16 | <Ashley Claymore> | {} works nicer in Python as doesn't have C style {} scope |
| 14:17 | <Andreu Botella> | ...wait, was __proto__ on object literals just a side effect of the fact that obj.__proto__ already worked? |
| 14:18 | <Ashley Claymore> | I don't think so. As that never triggers any setters |
| 14:18 | <Ashley Claymore> | unless it used to in ye old days? |
| 14:30 | <bakkot> | unless it used to in ye old days? |
| 16:25 | <bakkot> | had to confirm I wasn't crazy, and yes, this is how it worked in at least (spidermonkey) JavaScript-1.7.0, which claude nicely got building for me |
| 16:26 | <bakkot> | never standardized; es3 didn't have setters and es5 had DefineOwnProperty semantics for properties |
| 16:26 | <bakkot> | but setters were a common extension in the es3 days |
| 16:27 | <bakkot> | and indeed: |
| 17:19 | <Ashley Claymore> | Ooo thanks for that investigation!! |
| 17:38 | <bakkot> | claude took somewhat longer to do a wasm port but was capable of it with no intervention on my end, if you want to play with it yourself https://bakkot.github.io/JavaScript-1.7.0/ |
| 17:49 | <Ashley Claymore> | can finally test these E4X examples in a browser! |
| 17:54 | <bakkot> | man, I miss uneval |
| 17:54 | <bakkot> | what a nice feature |
| 18:06 | <Ashley Claymore> | https://npmx.dev/package/uneval 's got your back |
| 18:45 | <Michael Ficarra> | top contributors from the recent meeting (by speaking time) |
| 18:46 | <Michael Ficarra> | honourable mention to @Christian Ulbrich for smallest non-zero contribution: 4 seconds! |
| 18:47 | <Andreu Botella> | I think those are for offering to take notes? |
| 18:50 | <nicolo-ribaudo> | 🗣️🗣️🗣️🗣️ |
| 19:25 | <eemeli> | Surprised to see myself listed, but probably shouldn't be, on account of giving four presentations and also otherwise on occasion having Opinions. |