Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
robcee
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
robcee
6y ago
Amazing work!
2.
▲
by
robcee
12y ago
have you tried the Scratchpad tool in Firefox (Shift-F4)? It's made for editing and executing as much JavaScript as you want.
3.
▲
by
robcee
13y ago
One bonus is that this is fully-remoted with our debugger protocol. In time, we hope to get the asset inspection parts included in our tool as well. We'll also be showing Nick Desaulnier's port of the WebGL Inspector for Firefox i
4.
▲
by
robcee
13y ago
Little known feature: There's also a "cookie" command in the GCLI. Shift-F2 to bring up the command line, type "help cookie".
5.
▲
by
robcee
13y ago
you can still use it on Nightly. http://nightly.mozilla.org/
6.
▲
by
robcee
13y ago
ESC key to close that sidebar in the console.
7.
▲
by
robcee
13y ago
see https://news.ycombinator.com/item?id=6671062
8.
▲
by
robcee
13y ago
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.
9.
▲
by
robcee
13y ago
I usually think of "hoisting" as promoting a var outside of its containing scope to within the next block. e.g., function() { var a = 2; // b is visible here if (a == 2) { var b = 3; } }
10.
▲
by
robcee
13y ago
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.
11.
▲
by
robcee
13y ago
SyntaxError: syntax error. you can't use spread arguments without the ().
12.
▲
by
robcee
13y ago
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'
13.
▲
by
robcee
13y ago
that's a good nit. I'll drop it. Thanks!
14.
▲
by
robcee
13y ago
it is part of ES6 and should make it to V8 eventually. Soon, I hope!
15.
▲
by
robcee
13y ago
You can use the Style Editor to modify CSS and see the changes applied. We're going to be adding edit support to the Debugger soon.
16.
▲
by
robcee
13y ago
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 significa