_hyperscript icon indicating copy to clipboard operation
_hyperscript copied to clipboard

Wrong order of call async on docs' example

Open Sacules opened this issue 2 years ago • 0 comments

Hi, love the project! Just found this little error on the main docs, in the section about the async keyword:

<button _="on click call async returnsAPromise() put 'I called it...' into the next <output/>">
  Get The Answer...
</button>

It implies the order is call async foo(), but according to the docs on the command, the order should be async call foo().

Sacules avatar Aug 05 '23 18:08 Sacules