Click in order · JavaScript and TypeScript course · Module 10: TypeScript in Practice
Order: postMessage
Arrange the elements of sending a message to a Worker:
Items to click
- .postMessage(
- { type: 'calculate', data: 42 }
- )
- worker
You can check the correct answer by solving this task in the CodeWorlds game.