Which language is used in the code boxes here? is this a JavaScript extension?
> But sometimes you want statements, such as for loops. For that you'll need curly braces, and a return statement to give the cell a value. Think of a cell as a function, except the function has no arguments
So `x = { let y = 5; return y }` declares named cell x with value from the return value of that function-like code block. So basically that should be same as `x = 5`, which also is named cell declaration and not JS variable assignment.
[1] https://observablehq.com/documentation/cells/javascript#nami...
[2] https://observablehq.com/documentation/cells/javascript#expr...