Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ocaml, StandardML, F#, Erlang, and Rust all use that syntax for pattern matching. What other syntax would you propose to test values in a JS object?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: