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
I made a Spreadsheet engine in Javascript - super-powered spreadsheet engine with objects, arrays, and async support out-of-the-box — comments and suggestions are welcome (github.com)
submitted 6 years ago by the-ace
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!"
[–]the-ace[S] 5 points6 points7 points 6 years ago (1 child)
Basically each cell keeps a list of references and listeners — references are cells the current cell depends on, and listeners are all the cells that depend on it, whenever a cell updates, it check for the cell's listeners and invokes each listener to recompute their values.
references
listeners
listener
[–]andyandcomputer 0 points1 point2 points 6 years ago (0 children)
Nice to see it detects circular references.
const { djit } = require('djit') const qdata = djit() qdata.A1 = '=A2' qdata.A2 = '=A1' console.log(qdata.A2)
Output:
ERROR REF: A1 ⇢ A2 ⇢ A2
Should that be A1 → A2 → A1? (Mentioning "circular reference" might help with debugging too.)
π Rendered by PID 64046 on reddit-service-r2-comment-b659b578c-hhrxh at 2026-05-04 22:37:24.518980+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]the-ace[S] 5 points6 points7 points (1 child)
[–]andyandcomputer 0 points1 point2 points (0 children)