Set interval between functions

Leandro Augusto 1 month ago in Tips and Tricks • updated by Ilya Markov (expert) 1 month ago 1

I have two functions: functionA() and functionB(). In my script I need to execute functionA() first, after some seconds I need to execute functionB. How can I set an interval between two actions?

JS script