Multiple ChoiceIntermediate 30s
Computed Property Names
Choose the best answer for: computed property keys
Options
- 1Computed keys accept only literal strings, never exprs
- 2{[expr]: value} evaluates expr as the key name
- 3Computed keys use an @ prefix before the key name
- 4Computed keys require a Symbol, not plain strings
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.