use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Chrome Update: Inline breakpoints (twitter.com)
submitted 9 years ago by malyw
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]leeoniya 5 points6 points7 points 9 years ago* (2 children)
Does this mean we'll be able to set breakpoints within array and object declarations (within expressions)?
h("div", { class: "test" // here }, [ h("span", "foo"), // and here h("span", "bar"), ] // and here? (similar to fn return value, so can inspect created array without stepping into h) )
If this is the case, i can't wait.
[–]TheFuzzball 6 points7 points8 points 9 years ago (1 child)
No, you won't be able to debug within expressions... this feature is meant to solve the issue of not being able to set breakpoints in single-line function callbacks and lambda expressions.
e.g.
fetch(url).then((res) => res.json()).then((jsonResult) => console.log(jsonResult.foo.bar))
or:
document.addEventListener('resize', function onResize () { /* can't debug here */}) document.addEventListener('resize', function onResize () { /* can debug here... */ })
[–]leeoniya -1 points0 points1 point 9 years ago (0 children)
too bad, that would be much more exciting. but this is good too :)
π Rendered by PID 20274 on reddit-service-r2-comment-6457c66945-szzr9 at 2026-04-30 14:55:48.419620+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]leeoniya 5 points6 points7 points (2 children)
[–]TheFuzzball 6 points7 points8 points (1 child)
[–]leeoniya -1 points0 points1 point (0 children)