Is there some way to do multi-threading in JavaScript?
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
- Can php detect if javascript is on or not?
There is no true multi-threading in Javascript, but you can get asynchronous behavior using
setTimeout()
and asynchronous AJAX requests.What exactly are you trying to accomplish?