![]() For example, Ruby has sleep(1000) and Python has time.sleep(1) to "pause" operation for 1 second, but there is no direct correlate in Javascript.Īsynchronous actions in Javascript can usually call upon one of these two functions. Most program languages have a sleep function/method that can be invoked to delay the next operation in a function. How do I slow down the operation speed of a function to the point where I could create visual models and allow the viewer time to process them before it updated to the next step? ![]() I had planned to create a second entry in that series this week, however I ran into an obstacle: In my last blog entry, I had created a visualizer to model an approach to solving a Leetcode algorithm problem.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |