tays javascript answer test

JavaScript
another answer not yours
Source

Also in JavaScript: