I'm not sure if it uses all 4M by default - you'd have to ask on the ESP32 section of the forum, but...
I'm trying to upload the immutable.js library as sort of stress test. Want to see if it's feasible to use most of my regular JS toolbox.
Realistically, I think the answer here is 'no'. Espruino's really not set up for this kind of thing - I mean, it may be possible but trying to use a desktop library on an embedded device with Espruino is going to be very painful, and won't be performant.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Oh, you're on ESP32?
I'm not sure if it uses all 4M by default - you'd have to ask on the ESP32 section of the forum, but...
Realistically, I think the answer here is 'no'. Espruino's really not set up for this kind of thing - I mean, it may be possible but trying to use a desktop library on an embedded device with Espruino is going to be very painful, and won't be performant.