I've been reading about web workers in HTML5, but I know JavaScript is single-threaded.
My question is:
How are web workers doing multi-threaded work then? or how are they simulating it if it's not truely multi-threaded? Doesn't seem clear to me here.
As several comments have already pointed out, Workers really are multi-threaded.
Some points which may help clarify your thinking: