chore(i18n,learn): processed translations (#45151)

This commit is contained in:
camperbot
2022-02-18 00:29:34 +05:30
committed by GitHub
parent a26f45ed81
commit 58de1061e4
28 changed files with 311 additions and 289 deletions

View File

@ -1,6 +1,6 @@
---
id: 5a23c84252665b21eecc7edc
title: Last Friday of each month
title: Ultimo venerdì di ogni mese
challengeType: 5
forumTopicId: 302299
dashedName: last-friday-of-each-month
@ -8,65 +8,65 @@ dashedName: last-friday-of-each-month
# --description--
Write a function that returns the date of the last Friday of a given month for a given year.
Scrivi una funzione che restituisce la data dell'ultimo venerdì di un dato mese per un dato anno.
# --hints--
`lastFriday` should be a function.
`lastFriday` dovrebbe essere una funzione.
```js
assert(typeof lastFriday == 'function');
```
`lastFriday(2018, 1)` should return a number.
`lastFriday(2018, 1)` dovrebbe restituire un numero.
```js
assert(typeof lastFriday(2018, 1) == 'number');
```
`lastFriday(2018, 1)` should return `26`.
`lastFriday(2018, 1)` dovrebbe restituire `26`.
```js
assert.equal(lastFriday(2018, 1), 26);
```
`lastFriday(2017, 2)` should return `24`.
`lastFriday(2017, 2)` dovrebbe restituire `24`.
```js
assert.equal(lastFriday(2017, 2), 24);
```
`lastFriday(2012, 3)` should return `30`.
`lastFriday(2012, 3)` dovrebbe restituire `30`.
```js
assert.equal(lastFriday(2012, 3), 30);
```
`lastFriday(1900, 4)` should return `27`.
`lastFriday(1900, 4)` dovrebbe restituire `27`.
```js
assert.equal(lastFriday(1900, 4), 27);
```
`lastFriday(2000, 5)` should return `26`.
`lastFriday(2000, 5)` dovrebbe restituire `26`.
```js
assert.equal(lastFriday(2000, 5), 26);
```
`lastFriday(2006, 6)` should return `30`.
`lastFriday(2006, 6)` dovrebbe restituire `30`.
```js
assert.equal(lastFriday(2006, 6), 30);
```
`lastFriday(2010, 7)` should return `30`.
`lastFriday(2010, 7)` dovrebbe restituire `30`.
```js
assert.equal(lastFriday(2010, 7), 30);
```
`lastFriday(2005, 8)` should return `26`.
`lastFriday(2005, 8)` dovrebbe restituire `26`.
```js
assert.equal(lastFriday(2005, 8), 26);