Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
L0stLink
on Nov 24, 2021
|
parent
|
context
|
favorite
| on:
Tree Sitter and the Complications of Parsing Langu...
JavaScript will dynamically change the effective type of a value like sting or number into another depending on the operation being performed on it:
'2' * 3 => 6
'2' + 3 => '23'
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
'2' * 3 => 6
'2' + 3 => '23'