This is not even true in the classical JavaScript world. A 10 year old tiling image viewer (think of any map viewer) proves the opposite.
Given we have WebAssembly and friends nowadays, you can think of the browser as a X86 VM host if you whish, with similar limitations (= no relevant limitations for running PS).