Lesson 23 of 26 · +90 xp

Ternary

Inline conditional.

Explained simply

Your task

Write: label = x > 0 ? 'pos' : 'neg'

ternary-rb.ruby
← Back