HTML
var array1 = [5, 5, 6]; var promi = new Promise(function A(mResolve, mReject) { var total = array1.reduce((a, b) => a + b); setT