import { quotes } from '../variables/listQuotes.js'; $(function () { /* Permet d'afficher la liste des citations/proverbes */ $('.totalLengthQuote').html('Total de ' + quotes.length + ' citations.'); let resultat = ""; for (let index in quotes) { resultat = resultat + ` ${quotes[index]["source"]} ${quotes[index]["quote"]} `; } $(".quote-list").append(resultat); });