Original: Before the second browser wars in 2008-2009 , the JavaScript engine ( also known as JavaScript interpreter or JavaScript implementation ) was known simply as an interpreter that read and executed JavaScript source code .
Simplified: A JavaScript engine is a program that interprets JavaScript code . It may also compile JavaScript .