mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-25 05:02:17 -04:00
chore(i18n,learn): processed translations (#49961)
This commit is contained in:
@@ -21,8 +21,8 @@ Completa la funzione usando le regole sottostanti per modificare l'oggetto passa
|
||||
|
||||
- La funzione deve sempre restituire l'intero oggetto `records`.
|
||||
- Se `value` è una stringa vuota, elimina la proprietà `prop` dall'album.
|
||||
- If `prop` isn't `tracks` and `value` isn't an empty string, assign the `value` to that album's `prop`.
|
||||
- If `prop` is `tracks` and value isn't an empty string, add the `value` to the end of the album's `tracks` array. You need to create this array first if the album does not have a `tracks` property.
|
||||
- Se `prop` non è `tracks` e `value` non è una stringa vuota, assegna `value` alla `prop` di quell'album.
|
||||
- Se `prop` è `tracks` e il valore non è una stringa vuota, aggiungi `value` alla fine dell'array `tracks`. Devi prima creare questo array se l'album non ha una proprietà `tracks`.
|
||||
|
||||
**Nota:** una copia dell'oggetto `recordCollection` viene utilizzata per i test. Non dovresti modificare direttamente l'oggetto `recordCollection`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user