Modification of the javascript?


#1

Should I modify the Actor to match the Crawler?


#2

Hello @h3034.h3467.h1961,

using the async keyword before a function declaration allows you to use the await keyword within the function’s body. It’s the new way of handling asynchronous operations in JavaScript. You can read more about it here.

The () => {} is also just a new syntax (with some technical differences) of writing function () {}. You can read more about it here.

So, feel free to use any function declaration that you like, as long as it conforms to JavaScript syntax.