(2023-11-24, 18:39:33)carlos@agpsoftware.com Wrote: Hi.
Sorry. Why this text '() =>' before brackets?
It's beeing part of the lcjScript variable.
I don't understand that.
Hello Carlos,
Don't be confused, it's a short hand notation detail from javascript.
It's called an arrow function.
The runAnonymousFunction depends on something that is called anonymous functions in javascript.
So basically a function without a name.
You can still pass variables though, that's why the () is there, so you can pass variables in there. (Click on the runAnonymousFunction link to see an example)
More info about that can be read here:
https://www.w3schools.com/js/js_function_definition.asp
and here:
https://developer.mozilla.org/en-US/docs.../Functions
direct link in MDN:
https://developer.mozilla.org/en-US/docs..._functions
--
Wil