函数中的this 在标准函数中,this引用的是把函数当成方法调用的上下文对象,这时候通常称其为this值(在网页的全局上下文中调用函数时,this指向window)。 这个this值到底引用哪个对象,必须到函数被调用的时候才能确定,因此这个值在代码执行过程中可能会变。 箭头函数中的this 在箭头函数中,t
[Scene: Central Perk. Everybody's sitting on the couch and Monica is eating a chunk of cake.] Monica : (really excited) Mmh… this cake is amazing! Rachel : My God, get a room! Monica : I would get a room with this cake. I think I could show this cake
[Scene: Central Perk] Monica: It's so weird, how did Joey end up kissing Charlie last night? I thought you'd end up kissing Charlie. Ross: Hey, I thought I'd end up kissing Charlie too ok? But SURPRISE! Chandler: I missed most of the party
Scene: Coffee place, Joey is there, Chandler is entering Chandler: Hey Joey: Hey. So where's Mon? Chandler: Oh, she's at home, putting up decorations for Rachel's birthday party tonight. Joey: And you're not helping? Chandler: I tried,
Scene: Chandler and Monica's Chandler: Hey! Monica: Good morning, Tiger! I'm making you a nice big breakfast so you can keep up your strength for tonight. You're gonna get me good and pregnant. Chandler: I've got nowhere to go this mor
[Scene: Central Perk, Joey is showing everyone a poster as Ross enters.] Ross: Hey! What are you guys looking at? Joey: Oh, it's a poster for that World War I movie that I'm in, check it out. Ross: Yeah? Wow! It looks really violent! Joey: Uh-hu
[Scene: Joey and Rachel's, Joey is knocking on Rachel's door, whose door frame is decorated with balloons. The rest of the gang is there as well. Rachel opens the door and the gang blow on noisemakers.] Ross: Happy birthday!!! Monica: Happy birt
[Scene: Monica, Chandler, and Phoebe's, Monica and Phoebe are going through a bunch of pictures as Chandler enters.] Chandler: Hey. Monica: What's the matter? Chandler: Someone on the subway licked my neck! Licked my neck!! Phoebe: Oh Willie
[Scene: Monica, Chandler, and Phoebe's, everyone is there having breakfast and Joey enters carrying a loaf of bread.] Joey: Hey! Ross: Hi! Joey: Who wants French toast? Ross: Oh, I'll have some! Joey: Good, me too. (Tosses him the loaf.) Eggs an
[Scene: Central Perk, Chandler, Phoebe, Rachel and Monica are there. Ross walks in with a magazine in his hand.] Ross: Hey, you're not going to believe this. I made up a joke and sent it in to Playboy. They printed it! Phoebe: I didn't know Play
[Scene: Joey and Janine's, Chandler knocks on the front door. Joey answers the door.] Joey: Hey. Chandler: Hi, my name's Chandler. I just moved in next door and I was wondering if you would be interested in battling me in a post-apoplectic world