(1)a+b <script> var arr=[1,2,3,4,5]; var sum=arr.reduce((a,b)=>{ return a+b; }) console.log(sum); </script>