JSFiddle - React, Tailwind, and code Playground
by Jessie Lau
JavaScript
function getMissingElement(superImportantArray){
return superImportantArray.reduce(function(sum,value){return sum - value},45);
}
console.log(getMissingElement([1,2,3,4,5,6,7,8,9]));