Nanosoft Technologies - Chennai Interview Question
Web DevelopersTeam: EPUB
Country: India
Interview Type: In-Person
You can also use setTimeout() and setInterval().
You can do multi-threading in JavaScript using the Web Workers features of HTML5.
Using asynchronous XHR request.
Event Handler / Callbacks are also executed parallely.
- Real world example performing complex calculations e.g. calculating
- Sorting a long array.
Web workers are the only way to achieve/simulate multi threading in javascript
- sanjay September 29, 2015