1. 2
  1. 3

    tl;dr in 2019, Figma switched from running plugin JS in the “realms shim” to using the QuickJS interpreter by Fabrice Bellard compiled to WebAssembly.

    I was inspired by this post to build my own Emscripten wrapper around QuickJS: https://github.com/justjake/quickjs-emscripten You can use it to sandbox and evaluate Ecmascript 2020 code on the web or in NodeJS.

    1. 2

      2019