'Is Javascript fully compilable

I am new to javascript and I recently learned that javascript was JIT compiled but if javascript is JIT compilable, can't we just compile a whole program to create an executable ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source