Concepts

Conditional breakpoint predicate

Try the free JavaScript compiler

A conditional breakpoint evaluates a condition. This pure predicate example checks the intended condition, not the debugger interface.

Formal Syntax & Structure

javascript syntaxjavascript
qty < 0

Working Example

Example Snippetjavascript
(async () => {const rows=[2,-1,0,-3];console.log(JSON.stringify(rows.map(qty=>qty<0)));})()
JavaScript Reference