I also updated the code to reflect the latest syntax using case instead of match and when.
The code also shows that case does not return a value contrary to the previous examples.
After when we use arrows and the commas are also removed at the end of the statement.
Finally, there was a typo continously instead of continuously.
Thank you for reading and please let me know if I'm doing anything wrong.
Sorry for the super delayed reply. The stage information has been updated at #63 . I like the example changes in your PR, can you rebase on the master? Thanks!
Hello Everyone,
This is my first contribution ever to an open-source project (albeit a small one), so I apologize if I am doing any wrong.
So I updated the pattern matching proposal to stage 1 (see May 2018 TC39 meeting and slides https://docs.google.com/presentation/d/1WPyAO4pHRsfwGoiIZupz_-tzAdv8mirw-aZfbxbAVcQ/edit).
I also updated the code to reflect the latest syntax using
case
instead ofmatch
andwhen
. The code also shows thatcase
does not return a value contrary to the previous examples. Afterwhen
we use arrows and the commas are also removed at the end of the statement.Finally, there was a typo continously instead of continuously.
Thank you for reading and please let me know if I'm doing anything wrong.