Skip to content

Commit

Permalink
Merge pull request javascript-tutorial#352 from jpnyunus/patch-1
Browse files Browse the repository at this point in the history
variable name fix
  • Loading branch information
sahinyanlik authored Dec 25, 2023
2 parents dd843fa + 2025bf6 commit 0e7cec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1-js/05-data-types/04-array/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Dizi her türlü elemanı tutabilir.
let arr = [ 'Elma', { isim: 'Ahmet' }, true, function() { alert('merhaba'); } ];

// Birinci indeksteki değeri al ve "isim" özelliğini görüntüle
alert( arr[1].name ); // John
alert( arr[1].isim ); // John

// 3. indeksteki fonksiyonu al ve çalıştır.
arr[3](); // merhaba
Expand Down

0 comments on commit 0e7cec0

Please sign in to comment.