Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for [old] Unlucky Days by mozurin
"use strict";
function unluckyDays(year)
{
return [...Array(12).keys()].filter(
m => new Date(year, m, 13).getDay() == 5
).length;
}
April 9, 2019