Article From:https://segmentfault.com/q/1010000011710961
Question:
Do not know, ask, see source code found
xxxxx: !+Cookies.get(‘xxxxxx’)
In this sentence! What does it mean?
Answer 0:
+Can turn back into numbers (Number type).
!Is to reverse the boolean type.
Specifically, we need to see what we are doing.
I don’t know why I want to change so much.
!+'test'// true
!'test' // false
!+'0' //true
!'0' // false
Answer 1:
+Is to let strings become numeric types.
!It is the opposite.
Look at specific fields for understanding.
Here it should be to determine if a value is 0.
Link of this Article: + + what kind of grammar is this?