This problem of js Arrow function

I don"t understand why this is window in this broken code. Thank you for your understanding. Thank you.

var o = {
    fn:() => {
        console.log(this)
    }
}
o.fn()
Feb.28,2021
The

arrow function has no this equal to the external this
external is the object pointed to by a variable o and o is defined in the global
so this is global window


arrow function is determined when it is defined, it is an external this.


because the arrow function is not bound to the context

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9313e-471e7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9313e-471e7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?