Skip to content
JS
JavaScript error

Warning

The JavaScript warning "unreachable code after return statement" occurs when using an expression after a return statement, or when using a semicolon-less return statement but including an expression directly after.

Reference entryJavaScriptFetched
Warning: unreachable code after return statement (Firefox)
As listed by MDN Web Docs
Category
Warning
Severity
warning
Runtime
both
or press Cmd/Ctrl + Enter. The text is only sent to this site to match it.
Source: MDN Web Docs. Data fetched 2026-09-25T01:48:37.274Z.