Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amochohan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
amochohan
10y ago
The reason I added this was because most developers are used to using a double pipe when writing code that has 'or' conditions. I understand the use of pipes for bitwise, but in this case if you read the code in the example, we&#x
2.
▲
by
amochohan
10y ago
Indeed it was a typo, i've now fixed that in the article. Thanks.
3.
▲
by
amochohan
10y ago
I touched on the shortened [] syntax and non-numeric string arithmetic in the article. Thank you for getting these added to the language, I think it's a fantastic improvement.