Questions about the source code of $.extend in jQuery


if ( target === copy ) {
    continue;
}
What does this sentence prevent? It doesn"t seem to work. Can you give me an example of
?

var x = {}
var y = {}
x.i = y
y.i = x

var c = $.extend(true,x)
console.log(c);

this will directly report an error

Mar.09,2021

reports call stack overflow.

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-1b37569-2b3ec.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-1b37569-2b3ec.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?