Mozilla's SpiderMonkey JavaScript engine is disabling asm.js optimizations by default in Firefox 148 and plans to remove the code entirely in a future release. asm.js was a subset of JavaScript that allowed for near-native speed execution, but its usage has mostly migrated to WebAssembly. The removal of asm.js is due to the success of WebAssembly and the maintenance costs of keeping both paths. Developers are encouraged to recompile their asm.js code to WebAssembly for better performance and smaller binaries.