Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
livingparadox
on July 5, 2017
|
parent
|
favorite
| on:
Pattern Matching with TypeScript
I had to reread it a few times to parse it. Its result of "adding" the uppercase of 1 that should be 11, not the uppercase itself.
In other words, the result of "makeUppercase" should be a string, not a number.
rezistik
on July 18, 2017
[–]
I see it now.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
In other words, the result of "makeUppercase" should be a string, not a number.