Last Friday of each month

FCC link

Write a function that returns the date of the last Friday of a given month for a given year.

Test

{{test}}

Console output