2 ms·
How do you figure, when certain features of javascript are supported on some browsers and not others? You've just swapped OS dependence for runtime dependence.
by AnIdiotOnTheNet 7y ago
How do you figure, when certain features of javascript are supported on some browsers and not others? You've just swapped OS dependence for runtime dependence. JS's solution to this problem? Another layer of abstraction to make the JS cross-browser.
WASM already has this problem, what with 5 or 6 different incompatible runtimes already in existence.
- erikpukinskis 7y agoYou just use the lowest common denominator, depending on your definition if “everywhere”. When in need use shims. It’s not literally “run anywhere” it’s “for all intents and purposes run anywhere”.