Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
hellofunk
· 8y ago · 0 comments
What is "node => ", is that valid Python? I'm new to the language and have never seen the => syntax before. The docs for 'map' don't show it either.
Comments
[–]
vthriller
8y ago
It's not Python, the second is actually a counterexample in JavaScript, where `node =>` is similar to Python's `lambda node:`