✅ – Pink Hat – 23-03 Feb 14
What are the arguments in an arrow function when it is inside of a
setTimeout()
function
PH
Pink Hat•429d ago
How would I know what a or b is . can I define them somehow?
PH
Pink Hat•429d ago
or not
PH
Pink Hat•429d ago
just not gonna use an arrow function
S
ScriptyChris•429d ago
a
and b
will be whatever you pass as 3rd and subsequent arguments to setTimeout
https://developer.mozilla.org/en-US/docs/Web/API/setTimeout#param1
https://developer.mozilla.org/en-US/docs/Web/API/setTimeout#syntaxPH
Pink Hat•429d ago
do you think you could help me with my other question as well?
https://discord.com/channels/102860784329052160/1075218422025158786
UU
Unknown User•429d ago
230KMembers
View on DiscordMore Posts
Pink Hat – 22-12 Feb 13why do I get this error with this code?How to prevent parent element onClick event when child element outside click event triggered?Hey, everybody, I am trying to build custom pop-ups and/or dropdowns using React, and I need your he⛄Snowberb⛄ – 07-57 Feb 9Having an interceptor do redirect to the login page when a certain status is seen, how could I do toEduardS – 18-34 Feb 8How to solve calling hooks conditionally here?
I have this `data` coming from `validateData` that rHow to avoid calling hook conditionally here?I have this `data` coming from `validateData` that return the `rawData` if valid otherwise `null`. Endo – 07-14 Feb 8Does anyone know how to autoplay video with sound? I know there is a Autoplay policy. but for exampkairu – 14-23 Feb 7I have a section in my code I don't really understand.
`function nameOfFunction(a, b = null, c =