tc39 / proposal-decorators

Decorators for ES6 classes
https://arai-a.github.io/ecma262-compare/?pr=2417
2.76k stars 106 forks source link

Meta: Fix an error in the logResult example code #540

Closed matsilva closed 2 months ago

matsilva commented 3 months ago

Summary This pull request makes a simple fix to the example logResult code.

Changes


** Alternatively to logging the error, it could log the result variable, which would be the value of undefined. Happy to do that, just let me know.

matsilva commented 2 months ago

I do not have write access so I cannot merge. @tonivj5 would you be able to merge for me?

tonivj5 commented 2 months ago

I do not have write access so I cannot merge. @tonivj5 would you be able to merge for me?

Sorry! I don't belongs to the proposals itself, I look at your changes and I liked them... 😅

pzuraq commented 2 months ago

Thank you! And sorry for the delayed response!