Chris Martin is a user on icosahedron.website. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
Chris Martin @chris_martin

wait wut

ยท Web ยท 1 ยท 5

@MightyPork @chris_martin I think the first {} is an empty code block and the second and object

@chris_martin Bit by a syntax ambiguity. The first one is an empty block statement, followed by an array literal expression; it returns the result of the literal expression. The () coerce the whole second input into an expression, so it's actually what it looks like it should be, key retrieval from an empty object.

@chris_martin @Nentuaby the first few sentences sound like the beginning of a cyber-vampire horror story.