?? ??? ???? ???? ???? ??? ??????
May 21, 2025 pm 09:15 PMJavaScript ??? ??? ???? ???? ???? ???? ??? ?????. 1. ??? ?? ??, 2 ??? ??? ??, 3. ??? ???? ??????. ??? ???? ?? ??? ?? ??? ??? ???? ????? ?????.
??
?? ??? JavaScript ???? ?? ???? ?? this
?? ?? ? ????. ?? ?? ??? ??? ??? ?? ? ? ?? ???????? ?? ?? ??? ???? ????.? ????? ???? ??? ????. ? ??? ??, ??? this
???? ???? ?? ???? ???? ? ?? ???? ?? ?? ??? ????? ??? ??????.
?? ?? ??
JavaScript??? ?? ??? ??? this
, ???? ?? ????? ?? ????. ??? ??? ?? ??? ? ?, this
??? ??? ?? ??????. ???? ?? ?? ???? ??? ??? ? ??? ????? ????, ????? ?? ??? ?? ??? ???? ?????.
this
???? ???? ?? this
? ?? ??? ??? ???.
- ??? ????
this
??? ?? (?????window
node.js?global
)? ?? ???. - ??? ?? ? ?,
this
??? ?? ??, ??? ?? ??,call
??apply
???? ???? ??? ?? ??? ???? ??? ?? ????.
??? ?? ??? ?? ? ??? ???? this
???? ???? ??? ? ????? ?? ? ? ????.
?? ?? ?? ?? ??
this
??? ??? ?? ????
?????, this
??? ?? ?? ??? ?? ?? this
????? ?? ??? ?? this
? ?????. ??? ?? ?? ?????.
?? auterfunction () { this.name = '??'; ?? innerfunction () { Console.log (this.name); // ???? ??? ?????? } ?? ?? (); } <p>const obj = { ?? : 'Object' };</p><p> ?? (OBJ); // ?? : ???? ?????</p>
? ???, this
innerFunction
outerFunction
this
?? ??? ??? ?? ???. ? ??? ????? ?? ???? ????? ??? ????? this
?? ?????.
???
?? ??? ??? this
???? ????? ?? ??? ??? ? ????.
??? ??? ??????
??? ??? ??? ??? ????? this
??? ?? ??? ?? ?? this
????? ????. ??? ??? ??? ????? ?? ???? ????.
?? auterfunction () { this.name = '??'; const innerfunction = () => { Console.log (this.name); // ???? ??? ?? ??? ?? ??? }; ?? ?? (); } <p>const obj = { ?? : 'Object' };</p><p> ?? (OBJ); // ?? : ??</p>
bind
??? ??????
bind
???? ???? this
??? ??? ?? ????? ? ??? ?? ? ????.
?? auterfunction () { this.name = '??'; ?? innerfunction () { Console.log (this.name); } innerfunction.bind (this) (); } <p>const obj = { ?? : 'Object' };</p><p> ?? (OBJ); // ?? : ??</p>
??? this
??????
? ?? ???? ??? this
?? ???? ??? ?? ? ?? ?? ?? ??? ??? ???? ????.
?? auterfunction () { this.name = '??'; const self = this; ?? innerfunction () { Console.log (self.name); } ?? ?? (); } <p>const obj = { ?? : 'Object' };</p><p> ?? (OBJ); // ?? : ??</p>
??? ?
?? ??
?? ?? ????? ?? ?? ?????. ??? ???? ???? ??? ???? ??? ??? ?? ? ???.
??? ??? { ??? () { this.count = 0; } <pre class='brush:php;toolbar:false;'>?? () { settimeout (() => { this.count; Console.log (this.count); }, 1000); }
}
const ??? = ??? ??? (); counter.increment (); // 1 ? ? ?? : 1
? ???? ??? ??? ?? ??? this
Counter
????? ????????.
?? ??
?? ??? ??????? ???? this
? ??? ???? ???? ? ?? ????. ?? ?? ?? ?? ??? ???? ??? ???? ???? ?? ??? ??????????.
??? ?? ??? { ??? (??) { this.button = ??; this.clicks = 0; this.button.addeventListener ( 'click', this.handleclick.bind (this)); } <pre class='brush:php;toolbar:false;'>handleclick () { ?. ??; console.log (`??? ???? $ {this.clicks} times`); }
}
const button = document.getElementById ( 'myButton'); const handler = ??? ?? ??? (??);
? ???? bind
???? ???? handleClick
????? ButtonHandler
????? this
???.
???? ?? ? ??? ?
??? ??? this
? ?? ? ? ???? ??? ??? ????.
- ??? ?? ??
bind
??? ???? ?? ?? ??? ??? ???this
?????. - ??? ????? ?? ?? ???
this
?? ?? ??undefined
?? ????.
??? ? :
-
console.log(this)
???? ?? ?? ???this
????this
???? ?? ???? ? ??????. - ?? ???? ???? ??? ???? ????
this
????? ??????.
?? ??? ? ?? ??
?? ??? this
? ?? ? ??? ????? ? ?? ?? ??? ????.
- ??? ?? ?? : ??? ???
this
??? ??? ??? ????? ??? ????? ???? ????. -
bind
? ??? ??? ????? :bind
??? ????? ?? ???? ??? ??? ?????. ? ???? ??? ??? ???? ?????. - ??? ?? ? ??????? : ???? ??? ?? ?? ???? ??? ?? ??? ? ??? ??? ???? ? ???? ??? ??????.
?? ??
?? ??? ??? ??? ???.
?? testArrowFunction () { const obj = { ?? : '???' }; const func = () => { Console.log (this.name); }; for (i = 0; i <10000000; i) { func.call (obj); } } <p>?? testbindmethod () { const obj = { ?? : '???' }; function func () { Console.log (this.name); } const boundfunc = func.bind (obj); for (i = 0; i <10000000; i) { boundfunc (); } }</p><p> ?? testvariablemethod () { const obj = { ?? : '???' }; function func () { const self = this; return function () { Console.log (self.name); }; } const innerfunc = func.call (obj); for (i = 0; i <10000000; i) { innerfunc (); } }</p><p> Console.Time ( '??? ??'); TestArrowFunction (); Console.TimeEnd ( '??? ??');</p><p> Console.time ( 'bind method'); TestBindMethod (); Console.TimeEnd ( 'bind method');</p><p> console.time ( '?? ??'); testvariablemethod (); Console.TimeEnd ( '?? ???');</p>
? ??? ???? ??? ?? ????? ?? ? ??? ?? ??? ??? ??? ??? ????? ???? ? ? ????.
??? ???? ?? ?? ?????
?? ??? this
? ?? ? ???? ? ? ?? ???? ??? ????.
- ??? ??? ?? : ??? ???
this
? ?? ??? ???? ??? ? ????. ???? ??? ??????? ?? ?? ??? ???????. -
bind
???? ?? ?? :bind
??? ?? ??? ??this
????? ??? ? ??? ??? ?? ????? ???? ??? ??? ?? ?????? ??? ? ? ????. - ???
this
???? ????? .? ???? ?????? ??? ???? ?? ???? ????self
that
?? ??? ??? ?? ?? ??? ??? ? ????.
?? ?????? :
- ?? ?? ?? : ??? ?? ? ? ?? ?? ?? ?? ??? (IIFE)? ?? ??? ??? ???? ?? ???? ??
this
???? ? ? ?? ? ? ??????. - ??? ??? ?? : ??? ?????
this
?? ??? ??? ??? ??? ?????? ??? ??? ???? ? ??? ? ? ????. - ?? ???? : ??? ?? ?? ????? ???? ?? ??? ?? ???? ????? ????
this
? ? ? ???? ? ??????.
??? ??? ??? ??? ???? ???? this
???? ?????? ????? JavaScript ??? ?? ??? ? ????. ? ??? ?? ??? ??? ?? this
? ? ???? ???? ? ?????? ????.
? ??? ?? ??? ???? ???? ???? ??? ??????? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

Binance ??? ???? ??? ?? ?? IP ??, ???? ??, KYC ?? ??, ?? ??, ?? ??? ?? ? ??? ?? ??? ?? ?????. 1. ???? ???? ???? ?? ???? ?? ?? ??? ??????. 2. ???? ??? ??? ??? ???? ??? ??????. 3. ???? ?? ??? ??? ??????. 4. ???? ??? ????? ??? ??????. 5. ?? ?? ??? ??? ?? ?????? ??????. 6. ?? ? ?? 2FA? ?????, ?????? ? ?? ?? ??? ??? ? ? ????.? ??? 10 ? ??? ??? ???? 90%?? ??? ???? ?? ? ?? ?? ??? ?? ? ? ????.

? ??? ?? ??? ?? 10 ? ?? ?????? ?????. 1. ?? ??? ?? ? Binance? ??? ?????? ?? ??? ?? ?? ?? ?? ? ?? ???? ?????. 2. OKX, ??? ??, ??? ??? ??? ??? ? ?? ?? ??? ?????. 3. ??? ?? ? ??? ? ?? ???? ??? Gate.io? ?? ?? ? ?? ???? ???? ?????. 4. ??? ??? ? Huobi? ???? ??, ?? ???? ??? ??? ???? ? ??? ????. 5. Kucoin? ?? ???, ??? ??, ?? ??? ? ??? ??? ??? ????. 6. ?? ?? ?? ??? ? Kraken? ??? ??? ??? ??? ???? ? OTC ??? ?????. 7. Bitfinex? ?? ??, ?? ??? ??? ???, ?? ?? ?????.

??? ?? ???? ?? ?? ?? ? ?? ?? ??? ??? ??? ?? ?? ????? ?? ?????. ??? K- ?? ??? ?? ??? ?? ?? ? ??? ?? ???? ?? ??? ???? ?? ??? ??? ??? ????? ? ??? ? ? ????.

?? ??? ??? ?? ???? ??? ???? ?? ???? ????? ??????. 1. Green?? ??? ?? ???? ??? ???? ?? ??? ????? ??????. ????? ??? ?? ? ? "??????"? ??????. 2. ????? ??? ? ?? "??"? "??"?? "?? ??"??? ???? "? ??? ???? ?? ????? ??? ???"?? ???? ? ?? ???? ???? ????? ?? ??? ?????. 3. ??? ??? ? ???? ?? ? ?? ??? ????? ?? ??? ????? ??? ?? ??? ???? ?? ??? ???? ??????. ??? ? ? Binance? ??? ??? ?? ?? ? ?? ??? ??? ? ????.

?? ?? ?? ??? ??? ??? ?? ??? ?? ? ??? ?? ???? ??? ? ?? ?????. 1. ?? ???? ? ?????, ?? ??? ?????, ??? ??? ?????. 2. ?? ???? ?? ?????, ?? ???? ???? ??? ???? ??? ?? ? ?????. 3. ??? ???? ???? ???? ???? ?? ?? ?? ? ??? ??? ???????. ?? ?? ?? ??? ???? ?? ??? ? ??? ??? ??? ?? ??? ???? ??? ??? ??? ?????. 4. ??? ???? ?? ?? ??? ????? ????, ??? ? ?? ?? ???? ?? ??? ????, ?? ?? ?? ??? ?? ??? ???? ??? ??????. 5. ???? ?? ??? ??? ???? ?? ???? ??? ?? ?? ?? ??? ???? ??? ???? ????? ???? ??? ? ???? ??????. 6. ?? ??? ??? ?????

Binance? ?? ??, ?? ??, P2P ? ?? ??? ???? USDT, USDC ? ?? StableCoins? ??? ?? ?? ? ?? ???? ?????. 2. OUYI OKX? StableCoins? ???? ?? ?? ??, ?? ?? ? ?? ??? ???? OTC ? P2P ?? ???? ?????. 3. Sesame Open Gate.io? ??? ?? ?? ? P2P ????? ?? StableCoins? ???? ?? ?? ??? ? ??? ??? ?????. 4. Huobi? ??? ?? ?? ??? P2P ??? ???? ??? ?? ?? ? ??? ?? ???? ?? Stablecoin? ??? ? ????. 5. Kucoin? ??? P2P ?? ? ??? ?????? ?? Stablecoin? ???? ?? ?? ?? ? ?? ??? ?????. 6. Kraken? ACH, SEPA ? ?? ?? ?? ??? ???? ??? ?? Stablecoin? ?????.

OUYI ? ??? ????? ?? ?? ? ???? ???? "??"??? ???????. 1. ?? ?? ??, ??? ?? ?? ??? ?? ??? ??????. 2. ?? ??? ???? ??? ??? ???? ??? ????? ??????. ?? ?? ?? ???? ?? ?????? ???? ?? ???? ???? ???? ??????? ?? ?????. 2024 ?? ??? ???? ????? ?? ?? KYC? ???????. ?? ??? ???? ??? ???? ??? ? ????.

Binance Exchange? ?? ??? ?? ?? ?? ??????. ?? ? ??? ??? ??? ?????. ???? ????? ?? ? ???? ????? ?? ? ??? ?????? ???????. 1. ?? ???? ?? ??, ?? ??, ?? ??, ?? ?? ??? ?? ?? ? NFT ??; 2. ??? ????? ????? ??? ??? ???? ????? ???????. ?? ???? ?? ?? ?? ???, ??? ??? ??? ? ?? ??????? ?????. 3. ?? ?? ? ??? ?? App Store? ?? ???? ? ? ????. iOS ???? ??? ????? TestFlight? ???? ? ?? ????. 4. ?? ??? 24/7 ?? ?? ???? ???? ??? ??, ??? ?? ?? ?? ??? ?? ????? ? ????. 5. ???? ??? ???? ?? ?? ??? ???? ????? ?? ?????.
