Rodrigues’ rotation formula: Difference between revisions

m
(→‎{{header|JavaScript}}: Added an ES6 variant.)
Line 160:
===JavaScript: ES6===
(Returning a value directly and avoiding console.log,
which is often defined by browser libraries,
 
but is not part of JavaScript's ECMAScript standards themselves,
andbut is not availablepart to allof JavaScript's ECMAScript standards interpreters)themselves,
and is not available to all JavaScript interpreters)
 
<lang JavaScript>(() => {
9,655

edits