A question about this

window.val = 1;
var obj={
val: 2,
dbl: function () {
this.val *= 2;
val *= 2;
console. log("val:", val) ;
console. log( "this.val:", this.val) ;

}
};
//
obj.dbl();
var func = obj.dbl;
func();

this is a question I know to run in console to answer, and the analysis this I want points to the question.

May.20,2022

window.func = function() {
    this.val *= 2;
    val *= 2;
    console. log('val:', val) ;
    console. log( 'this.val:', this.val) ;
}
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-1bf72bb-32042.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-1bf72bb-32042.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?