right. The point I was trying to illustrate was that the inner variable declared with a "var" keyword was visible outside its containing block. If I'd used "let" there, it would not be.
I was aware it's pretty modern but honestly didn't think about it much. We use it heavily in Firefox Devtools code and I much prefer its non-hoisting properties over var.
Not sure I agree with you. After using them for a few months, they feel pretty natural, light-weight and used close to where you define them. There's actually less thinking required when using a fat-arrow function because you don't really have to worry about the scope.
The Security filter shows CSP errors and mixed content warnings among other things. I expect the security team will add more messages to that section of the console over time.
We're going to revamp the Console's output area fairly significantly in the next few months. Better Object output is high on the list of changes.
(you can use console.dir(object) for an inlined inspector view, or inspect(object) in the console's jsterm input line to view the object in the sidebar)
Shift-Enter turns the Console's input line into a multi-line input.
We're hoping to add autocomplete to the Scratchpad down the road too.