Concepts

Minimal failing reproduction

Try the free JavaScript compiler

Reduce a failing case while preserving the discrepancy; record expected and actual independently.

Formal Syntax & Structure

javascript syntaxjavascript
actual === expected

Working Example

Example Snippetjavascript
(async () => {const count=xs=>xs.slice(1).length; console.log(count(["a"]),1,count(["a"])===1);})()
JavaScript Reference