HN user

ianertson

37 karma

I'm a self-employed digital monad & developer. On my spare time I mostly work on my compiler or other fun projects.

Born and raised in Sweden.

Posts12
Comments13
View on HN

What I mean with "adapts the code through static analysis" is:

1. Finds dead code and removes it 2. It converts nodejs code that isn't compatible with the browser into browser code 2. It converts JS code that isn't compatible with nodejs to nodejs code

It tries to always make things work both in nodejs and browser js.

One example is the optional chain syntax which doesn't work in nodejs but works in the browser. FJB converts it to something that works everywhere.