Skip to content

Glossary: Vue.js

Expression

Also written: JavaScript expression, ternary operator

A piece of JavaScript that produces a value, such as `products.length` or a ternary. Templates allow expressions but not statements like `if`.

Where the book teaches it

Related terms

Interpolation