( ! ) Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php/session) failed: Permission denied (13) in /home/prototurk.com/public_html/app/init.php on line 4
Call Stack
#TimeMemoryFunctionLocation
10.0002362184{main}( ).../index.php:0
20.0007366000require( '/home/prototurk.com/public_html/app/init.php' ).../index.php:9
30.0007382512session_start ( ).../init.php:4
Javascript includes() Metodu - <code>fromIndex</code> 0'dan küçük ise
fromIndex 0'dan küçük ise

Eğer fromIndex parametresini sıfırdan küçük değer verirseniz mevcut dizi uzunluğu ile verdiğiniz değer toplanır ve ona göre eşleşme aranır.

Prototürk'e geri dön
// örnek bir anlatım
// array uzunluğu = 3
// fromIndex = -100
// indis başlangıcı = 3 + (-100) = -97

let arr = ['a', 'b', 'c']

arr.includes('a', -100) // true
arr.includes('b', -100) // true
arr.includes('c', -100) // true
arr.includes('a', -2)   // false - çünkü (3 + (-2)) = 1 olacağı için 1. indiste değer b olduğundan false döner