Question · Vue.js course · Module 2: Template Syntax

Interpolation Limitations

Which of the following will NOT work inside {{ }}?

Answer options

  • message.toUpperCase()
  • let a = 1
  • count + 1
  • isActive ? 'Yes' : 'No'
Show the answer

Correct answer:

  • let a = 1