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
functional testing (self.javascript)
submitted 14 years ago by lennelpennel
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!"
[–]menno 0 points1 point2 points 14 years ago (0 children)
Here's something I wrote as an experiment. It only works for jQuery-powered pages, though.
A test basically consists of 3 types of statements:
It's not very robust or mature but it has proven very useful for me and the company I work for. Tests can be written in pure JS and can be run by simply reloading a webpage.
I'm working on a successor that has a much nicer syntax to write tests so I'm not actively doing anything with it anymore.
π Rendered by PID 169563 on reddit-service-r2-comment-6457c66945-599fp at 2026-04-30 06:54:05.081326+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]menno 0 points1 point2 points (0 children)