Nashorn is a newly introduced JavaScript processing engine that came bundled with Java 8. It provides tighter compliances with ECMA JavaScript specifications and has runtime performance that beats Rhino, its predecessor.