[Vuejs]-Mustache {{}} binding for vue.js

3👍

Inside {{ }} in a Vue template you are evaluating a JavaScript expression. The result of the expression a = b is b.

There is nothing Vue-specific about this behaviour:

let a;
console.log(a = 1); // output: 1

Leave a comment