Posts by user131347 • 61 points
1 post
-
6
votes2
answers170
viewsA: What is the difference between these uses of the setTimeout() function?
The first argument of setTimeout is a callback function. In setTimeout(()=>this.logicaRotacao(), 3000) you are setting a function using the notation arrow function, this function when invoked…