0

What does | means in Vue.js ?

I got this question in an interview: If we have "{{ a | b }}" in a vue instance template, what is b? I never saw the | symbol used in js before, what is it called ? why do we use it? Also, I would really love to know the answer here!

31st Jul 2021, 12:10 AM
Amjad Mesmar
Amjad Mesmar - avatar
1 Resposta
+ 6
`|` symbol is known as Bitwise OR operator in the most of the programming languages. https://www.sololearn.com/learn/4073/?ref=app
31st Jul 2021, 1:21 AM
Simba
Simba - avatar