А построение сценария для движка, это не компиляция?
People making the ECMAScript engines are really smart, so they use the best of both worlds and make a JIT(Just-in-time) compiler. JavaScript is compiled as well as interpreted but the actual implementation and order depend on the engine. We will see what is the strategy employed by the team at V8.
короче, язык компилируемый тогда, когда для его исполнения весь большой блок кода (например файл) должен быть сначала отпаршен и переведён например в опкоды виртуальной машины, а уже только потом может быть исполнен