Posts by Wagner Rodrigues • 1 point
1 post
- 
		-1 votes5 answers34006 viewsA: How to return the last record of an array with Javascript or jQuery?Hello! I did it this way: //Coloque a última fruta da array em uma variável, sem remover a mesma do array var frutas = ['Banana','Maçã','Pera','Uva','Melancia'] //Varredura para achar o último item…