-
Hello, I'm somewhat of JS noob. I'm following along the with the boardgame.io tutorial and I see the following:
...and I see that the signature changed in this PR: Where would I look for more documentation on the braces in the signature paradigm for JS? Thanks for any pointers! -m |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
What do you mean by "braces in the signature paradigm for JS"? Are you asking what that represents? If so it's an object destructure so you can use the properties without referencing the parent. If not can you elaborate? |
Beta Was this translation helpful? Give feedback.
-
Hi @fladrif , Thanks for the reply. That's exactly what I was wondering about. Thanks for the hint about object destructure. It is helpful. Cheers, -m |
Beta Was this translation helpful? Give feedback.
What do you mean by "braces in the signature paradigm for JS"? Are you asking what that represents? If so it's an object destructure so you can use the properties without referencing the parent. If not can you elaborate?