Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for [old] Even the Last by mozurin
"use strict";
function evenLast(data)
{
return data.filter((_, i) => !(i % 2)).reduce((s, e) => s + e, 0) * (
data.reverse()[0] || 0
);
}
June 25, 2018
Comments: