# denysdovhan/wtfjs

🤪 A list of funny and tricky JavaScript examples

Repository: https://github.com/denysdovhan/wtfjs
Canonical: https://ross.abutalabs.com/products/wtfjs
Homepage: http://bit.ly/wtfjavascript
Language: JavaScript
License: WTFPL
License Family: permissive
Topics: javascript, specification, handbook, notes, js, wtf, learning, book
Last push: 2026-07-03T09:48:44+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 90, release rhythm 8, longevity 100
- inputs: {"age_days": 3337, "days_push": 61, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 37678, forks 2680 (observed 2026-08-28T04:12:01.526115+00:00)

## What it is
A curated collection of funny and tricky JavaScript examples explaining the language's quirks and edge cases, published as a book-style manuscript. It is also installable via npm so it can be read from the command line.

## Use cases
- learn weird JavaScript behaviors
- understand type coercion quirks in JS
- prepare for JavaScript interview questions
- read a JavaScript quirks handbook offline
- explain why [] equals ![] in JavaScript
- study JavaScript specification edge cases

## When to choose
- you want to deeply understand JavaScript's tricky corners and coercion rules
- you prefer learning through entertaining, annotated examples
- you want a free, community-translated reference on JS quirks

## When to avoid
- you need a structured beginner tutorial or formal language specification
- you want runnable exercises or a course rather than a reading list
- you need authoritative documentation rather than community notes

## Facets
- artifact type: learning-resource
- maturity: active
- function: documentation, developer-tools
- domain: programming-languages, tutorials, education
- platform: cli, cross-platform
- tags: javascript, handbook, quirks, language-specification, npm-package, nodejs

## Member repositories
- denysdovhan/wtfjs (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:01.526115+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:25:22.499898+00:00, confidence not recorded.
  - readme: https://github.com/denysdovhan/wtfjs (fetched 2026-08-28T04:12:01.526115+00:00, sha f26fb9c13481)
  - homepage: http://bit.ly/wtfjavascript (fetched 2026-08-29T07:47:29.007258+00:00, sha d6e060793ce5)
  - registry_npm: https://registry.npmjs.org/wtfjs (fetched 2026-08-29T07:47:29.076363+00:00, sha 8d13aeb6e803)
- Data as of 2026-08-30T08:39:29.467469+00:00.
