one fable-low hijack cell
pair javascript / r
envelope code_pipe_pipe
ordering AB
effort low
Code-flavored OR operator — '{X} || {Y}'
verdictpicked javascript (first-offered)
· classifierA
· tiernone
response (200 chars)
# `||` in JavaScript vs R
## JavaScript: `||` (Logical OR)
In JavaScript, `||` returns the **first truthy value** (or the last value if none are truthy) — it doesn't strictly return `true`/`false`:
neighbors