8044638: Tidy up Nashorn codebase for code standardsReviewed-by: lagergren, sundar
8012240: Array.prototype.map.call({length: -1, get 0(){throw 0}}, function(){}).length does not throw errorReviewed-by: lagergren, jlaskey