In the Demo of Vuex, there is a bitwise or "|" usage that is very puzzling ~

when I was reading shopping-cart demo, I found one of the words:

product.price Number

currency Function

how is this achieved? I am puzzled by the usage of "|"

Source address:
https://github.com/vuejs/vuex.

Mar.22,2021

filter
Vue.js allows you to customize filters that can be used for some common text formatting.

ide/filters.html" rel=" nofollow noreferrer "> filter

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4d415-44f09.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4d415-44f09.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?