What's the difference between the &
and &&
in Vue.js?
I test the:
<span
v-if="1 > 0 & 2 > 1"
>
span
</span>
and
<span
v-if="1 > 0 && 2 > 1"
>
span
</span>
both the text span
will show.
So is there some difference between them in Vue.js?