-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
1577 lines (1126 loc) · 46.7 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<!-- Head tag (contains Google-Analytics、Baidu-Tongji)-->
<head>
<!-- Google Analytics -->
<!-- Baidu Tongji -->
<!-- Baidu Push -->
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="google-site-verification" content="lxDfCplOZbIzjhG34NuQBgu2gdyRlAtMB4utP5AgEBc"/>
<meta name="baidu-site-verification" content="PpzM9WxOJU"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="description" content=" 这是我的博客,用来分享与记录我的学习(玩耍)生活"/>
<meta name="keyword" content="AzirKxs,blog,Blog"/>
<link rel="shortcut icon" href="/img/avatar/favicon.jpg"/>
<!-- Place this tag in your head or just before your close body tag. -->
<script async="async" defer="defer" src="https://buttons.github.io/buttons.js"></script>
<!-- Bootstrap Core CSS -->
<link rel="stylesheet" href="/css/bootstrap.min.css"/>
<!-- Custom CSS -->
<link rel="stylesheet" href="/css/beantech.min.css"/>
<!-- Pygments Highlight CSS -->
<link rel="stylesheet" href="/css/highlight.css"/>
<link rel="stylesheet" href="/css/widget.css"/>
<link rel="stylesheet" href="/css/rocket.css"/>
<link rel="stylesheet" href="/css/signature.css"/>
<link rel="stylesheet" href="/css/catalog.css"/>
<link rel="stylesheet" href="/css/livemylife.css"/>
<!-- wave start -->
<link rel="stylesheet" href="/css/wave.css"/>
<!-- wave end -->
<!-- top start (article top hot config) -->
<link rel="stylesheet" href="/css/top.css"/>
<!-- top end -->
<!-- ThemeColor start -->
<link rel="stylesheet" href="/css/scroll.css"/>
<!-- ThemeColor end -->
<!-- viewer start (Picture preview) -->
<link rel="stylesheet" href="/css/viewer.min.css"/>
<!-- viewer end -->
<!-- Search start -->
<link rel="stylesheet" href="/css/search.css"/>
<!-- Search end -->
<!-- ThemeColor start -->
<link rel="stylesheet" href="/css/themecolor.css"/>
<!-- ThemeColor end -->
<!-- Custom Fonts -->
<!-- <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"> -->
<!-- Hux change font-awesome CDN to qiniu -->
<link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/4.5.0/css/font-awesome.min.css" type="text/css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Hux Delete, sad but pending in China <link href='http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'> <link
href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/ css'> -->
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]-->
<!-- ga & ba script hoook -->
<link rel="canonical" href="http://yoursite-url/">
<title>
AzirKxs的博客 | 分享与记录
</title>
<meta name="generator" content="Hexo 5.4.0"></head>
<!-- hack iOS CSS :active style -->
<body ontouchstart="" class="body--light body--light">
<!-- ThemeColor -->
<!-- ThemeColor -->
<style type="text/css">
.body--light {
--light-mode: none;
--dark-mode: block;
}
.body--dark {
--light-mode: block;
--dark-mode: none;
}
i.mdui-icon.material-icons.light-mode {
display: var(--light-mode);
}
i.mdui-icon.material-icons.dark-mode {
display: var(--dark-mode);
}
</style>
<div class="toggle" onclick="document.body.classList.toggle('body--dark')">
<i class="mdui-icon material-icons light-mode"></i>
<i class="mdui-icon material-icons dark-mode"></i>
</div>
<script>
//getCookieValue
function getCookieValue(a) {
var b = document.cookie.match('(^|[^;]+)\\s*' + a + '\\s*=\\s*([^;]+)');
return b
? b.pop()
: '';
}
let themeMode = 'light';
if (getCookieValue('sb-color-mode') && (getCookieValue('sb-color-mode') !== themeMode)) {
let dbody = document.body.classList;
themeMode === 'dark' ? dbody.remove('body--dark') : dbody.add('body--dark');
}
//setCookieValue
var toggleBtn = document.querySelector(".toggle");
toggleBtn.addEventListener("click", function () {
var e = document.body.classList.contains("body--dark");
var cookieString = e
? "dark"
: "light";
var exp = new Date();
exp.setTime(exp.getTime() + 3 * 24 * 60 * 60 * 1000); //3天过期
document.cookie = "sb-color-mode=" + cookieString + ";expires=" + exp.toGMTString() + ";path=/";
});
</script>
<!-- Gitter -->
<!-- Gitter -->
<!-- Docs:https://gitter.im/?utm_source=left-menu-logo -->
<script>
((window.gitter = {}).chat = {}).options = {
room: 'AzirKxsFriends/community'
};
</script>
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>
<!-- Navigation (contains search)-->
<!-- Navigation -->
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">AzirKxs's Blog</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<!-- Known Issue, found by Hux: <nav>'s height woule be hold on by its content. so, when navbar scale out, the <nav> will cover tags. also mask any touch event of tags, unfortunately. -->
<div id="huxblog_navbar">
<div class="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="/">首页</a>
</li>
<li>
<a href="/about/">
关于
</a>
</li>
<li>
<a href="/archive/">
归档
</a>
</li>
<li>
<a href="/categories/">
分类
</a>
</li>
<li>
<a href="/tags/">
标签
</a>
</li>
<li>
<a class="popup-trigger">
<span class="search-icon"></span>搜索</a>
</li>
<!-- LangSelect -->
</ul>
</div>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<!-- progress -->
<div id="progress">
<div class="line" style="width: 0%;"></div>
</div>
<script>
// Drop Bootstarp low-performance Navbar Use customize navbar with high-quality material design animation in high-perf jank-free CSS3 implementation
var $body = document.body;
var $toggle = document.querySelector('.navbar-toggle');
var $navbar = document.querySelector('#huxblog_navbar');
var $collapse = document.querySelector('.navbar-collapse');
$toggle.addEventListener('click', handleMagic)
function handleMagic(e) {
if ($navbar.className.indexOf('in') > 0) {
// CLOSE
$navbar.className = " ";
// wait until animation end.
setTimeout(function() {
// prevent frequently toggle
if ($navbar.className.indexOf('in') < 0) {
$collapse.style.height = "0px"
}
}, 400)
} else {
// OPEN
$collapse.style.height = "auto"
$navbar.className += " in";
}
}
</script>
<!-- Post Header (contains intro-header、signature、wordcount、busuanzi、waveoverlay) -->
<!-- Modified by Yu-Hsuan Yen -->
<!-- Post Header -->
<style type="text/css">
.body--light {
/* intro-header */
--intro-header-background-image-url-home: url('/img/header_img/cover.jpg');
--intro-header-background-image-url-post: url('');
--intro-header-background-image-url-page: url('/img/header_img/cover.jpg');
}
.body--dark {
--intro-header-background-image-url-home: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), url('/img/header_img/cover.jpg');
--intro-header-background-image-url-post: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), url('');
--intro-header-background-image-url-page: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), url('/img/header_img/cover.jpg');
}
header.intro-header {
/*config*/
background-image: var(--intro-header-background-image-url-home);
/* background-image: url('/img/header_img/cover.jpg'); */
}
#signature {/*signature*/
background-image: url('/img/signature/myname.png');
}
</style>
<header class="intro-header">
<!-- Signature -->
<div id="signature">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="site-heading">
<h1>AzirKxs's Blog</h1>
<!--<hr class="small">-->
<span class="subheading">欢迎光临我的博客</span>
</div>
</div>
</div>
</div>
</div>
<!-- waveoverlay start -->
<div class="preview-overlay">
<svg class="preview-waves" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto">
<defs>
<path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z"></path>
</defs>
<g class="preview-parallax">
<use xlink:href="#gentle-wave" x="48" y="0" fill=var(--gentle-wave1)></use>
<use xlink:href="#gentle-wave" x="48" y="3" fill=var(--gentle-wave2)></use>
<use xlink:href="#gentle-wave" x="48" y="5" fill=var(--gentle-wave3)></use>
<use xlink:href="#gentle-wave" x="48" y="7" fill=var(--gentle-wave)></use>
</g>
</svg>
</div>
<!-- waveoverlay end -->
</header>
<!-- Main Content (Post contains
Pager、
tip、
socialshare、
gitalk、gitment、disqus-comment、
Catalog、
Sidebar、
Featured-Tags、
Friends Blog、
anchorjs、
) -->
<!-- Main Content -->
<div class="container">
<div class="row">
<!-- USE SIDEBAR -->
<!-- Post Container -->
<div class="
col-lg-8 col-lg-offset-1
col-md-8 col-md-offset-1
col-sm-12
col-xs-12
post-container
">
<!-- Main Content -->
<div class="post-preview">
<!-- top start (article top hot config) -->
<!-- top end -->
<a href="/cn/Other08- 社会达尔文主义为什么是错的?/">
<h2 class="post-title">
社会达尔文主义为什么是错的?
</h2>
<h3 class="post-subtitle">
内卷?狼性竞争?真的是正确的吗?
</h3>
<div class="post-content-preview">
参考
bilibili:社会达尔文主义为什么是错的?https://www.bilibili.com/video/BV1ad4y1F7Yv
百度百科:https://baike.baidu.com/item/社会达尔文主义/7387388?fromModule=lemma-qiyi_sense-lemma
知乎:https://www.zhihu.com/question/19916228......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by AzirKxs on
2022-12-04
</p>
<div class="tags">
<a href="/tags/#零碎观点" title="零碎观点">零碎观点</a>
</div>
</div>
<hr>
<div class="post-preview">
<!-- top start (article top hot config) -->
<!-- top end -->
<a href="/cn/js09-js高级知识总结03/">
<h2 class="post-title">
JS高级知识总结03
</h2>
<h3 class="post-subtitle">
严格模式,原型/原型链,继承,ES6类新特性
</h3>
<div class="post-content-preview">
js高级知识总结03
Proxy
在vue2中,我们使用Object.defineProperty方法来监听数据的变化
vue2监听原理
12345678910111213141516171819202122const obj = { name:'kxs', age: 22, height:175}const keys = Objec......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by AzirKxs on
2022-11-10
</p>
<div class="tags">
<a href="/tags/#js" title="js">js</a>
</div>
</div>
<hr>
<div class="post-preview">
<!-- top start (article top hot config) -->
<!-- top end -->
<a href="/cn/手写系列--深拷贝,浅拷贝/">
<h2 class="post-title">
手写系列--深拷贝,浅拷贝
</h2>
<h3 class="post-subtitle">
手写apply/call/bind
</h3>
<div class="post-content-preview">
手写系列–深拷贝,浅拷贝
浅拷贝
实现一个对象或者数组的浅拷贝
1234567891011121314151617181920let obj = { name:'azirkxs'};let arr = [{name:'azirkxs'},'haha',22]function shallo......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by AzirKxs on
2022-11-08
</p>
<div class="tags">
<a href="/tags/#js" title="js">js</a>
</div>
</div>
<hr>
<div class="post-preview">
<!-- top start (article top hot config) -->
<!-- top end -->
<a href="/cn/手写系列-防抖和节流/">
<h2 class="post-title">
手写系列--防抖和节流
</h2>
<h3 class="post-subtitle">
手写防抖和节流
</h3>
<div class="post-content-preview">
手写系列-防抖和节流
防抖和节流都是优化高频率执行代码的一种手段,例如浏览器的resize,scroll,mousemove等事件在触发时,会频繁的调用绑定在事件上的回调函数,极大的浪费资源,降低了前端的性能,因此就需要使用防抖和节流来优化代码
防抖:n秒后在执行该事件,若在n秒内重复触发,则重新计时
节流:n秒内只运行一次,若在n秒内重复触发,只有一次生效
防抖
1234567891011......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by AzirKxs on
2022-11-06
</p>
<div class="tags">
<a href="/tags/#js" title="js">js</a>
</div>
</div>
<hr>
<div class="post-preview">
<!-- top start (article top hot config) -->
<!-- top end -->
<a href="/cn/css05-CSS三列布局/">
<h2 class="post-title">
css三列布局的实现
</h2>
<h3 class="post-subtitle">
圣杯布局,双飞翼布局
</h3>
<div class="post-content-preview">
CSS三列布局
css经典的三列布局,左右两列固定宽度,中间元素自适应的各种实现方式
定位实现
定位的缺点:当出现滚动条时,内容区在滚动条后边显示,而且内容区仍旧被压缩(不推荐使用)
12345678910111213141516171819202122232425262728293031323334353637383940414243<!DOCTYPE html><htm......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by AzirKxs on
2022-11-05
</p>
<div class="tags">
<a href="/tags/#CSS" title="CSS">CSS</a>
</div>
</div>
<hr>
<div class="post-preview">
<!-- top start (article top hot config) -->
<!-- top end -->
<a href="/cn/js08-JS高级知识总结02/">
<h2 class="post-title">
JS高级知识总结02
</h2>
<h3 class="post-subtitle">
严格模式,原型/原型链,继承,ES6类新特性
</h3>
<div class="post-content-preview">
JS高级知识总结02
let,const
函数增强
函数默认值
箭头函数
rest剩余参数
对象增强
变量作为键名
对象解构
展开运算符
引用赋值,浅拷贝,深拷贝
symbol类型
对象作为参数的弊端
思考如下代码
12345678let obj = { name: '123', age: 22}function foo(obj)......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by AzirKxs on
2022-11-03
</p>
<div class="tags">
<a href="/tags/#js" title="js">js</a>
</div>
</div>
<hr>
<div class="post-preview">
<!-- top start (article top hot config) -->
<!-- top end -->
<a href="/cn/手写系列--applycallbind/">
<h2 class="post-title">
手写系列--apply/call/bind
</h2>
<h3 class="post-subtitle">
手写apply/call/bind
</h3>
<div class="post-content-preview">
手写系列–apply/call/bind
手写apply
1234567891011121314151617181920212223Function.prototype.hyApply = function(thisArg,otherArgs){ //判断thisArg的类型并进行类型转换 thisArg = (thisArg === null || thisArg =......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by AzirKxs on
2022-10-28
</p>
<div class="tags">
<a href="/tags/#js" title="js">js</a>
</div>
</div>
<hr>
<div class="post-preview">
<!-- top start (article top hot config) -->
<!-- top end -->
<a href="/cn/js07-JS高级知识总结01/">
<h2 class="post-title">
JS高级知识总结01
</h2>
<h3 class="post-subtitle">
严格模式,原型/原型链,继承,ES6类新特性
</h3>
<div class="post-content-preview">
JS高级知识总结
执行上下文,作用域,this指向,闭包,箭头函数相关内容查看文章[深入理解js - AzirKxs的博客 | 分享与记录](http://8.130.40.222/cn/base05- 深入理解js/)
严格模式
简介
开启严格模式会以更加严格的方式对代码进行检测和执行,使代码脱离“懒散(sloppy)“模式
严格模式有如下限制
通过抛出错误来消除一些原有的静默错误
......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by AzirKxs on
2022-10-28
</p>
<div class="tags">
<a href="/tags/#js" title="js">js</a>
</div>
</div>
<hr>
<div class="post-preview">
<!-- top start (article top hot config) -->
<!-- top end -->
<a href="/cn/base06-探究缓存机制/">
<h2 class="post-title">
探究缓存机制
</h2>
<h3 class="post-subtitle">
深入强缓存,协商缓存,了解DNS缓存和CDN缓存
</h3>
<div class="post-content-preview">
HTTP中的强缓存与协商缓存 - 掘金 (juejin.cn)
缓存:浏览器缓存、DNS缓存和CDN缓存_Qssn丶的博客-CSDN博客_浏览器缓存和dns缓存
从输入URL开始建立前端知识体系 - 掘金 (juejin.cn)
HTTP 缓存技术 - 协商缓存_51CTO博客_协商缓存
我们都知道当我们在浏览器中打开一个页面时,浏览器会根据你输入的URL到对应的服务器上请求你想要的数据......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by AzirKxs on
2022-10-25
</p>
<div class="tags">
<a href="/tags/#浏览器" title="浏览器">浏览器</a>
<a href="/tags/#缓存" title="缓存">缓存</a>
</div>
</div>
<hr>
<div class="post-preview">
<!-- top start (article top hot config) -->
<!-- top end -->
<a href="/cn/js06-this的指向问题/">
<h2 class="post-title">
js的this指向问题
</h2>
<h3 class="post-subtitle">
行行色色的this指向问题
</h3>
<div class="post-content-preview">
this何时存在?
由[深入理解js - AzirKxs的博客 | 分享与记录](http://8.130.40.222/cn/base05- 深入理解js/)我们可以知道,this是和执行上下文绑定的,也就是说每个执行上文中都有自己对应的this,执行上下文主要分为全局执行上下文,函数执行上下文和eval,eval几乎不用,暂时不做区分。也就是我们所需要探讨的核心就是全局执行上下文中的th......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by AzirKxs on
2022-10-24
</p>
<div class="tags">
<a href="/tags/#js" title="js">js</a>
</div>
</div>
<hr>
<!-- Pager -->
<ul class="pager">
<li class="next">
<a href="/archives/2/">下一页 →</a>
</li>
</ul>
<!-- 如果开启评论功能 -->
</div>
<!-- Sidebar Container -->
<div class="
col-lg-3 col-lg-offset-0
col-md-3 col-md-offset-0
col-sm-12
col-xs-12
sidebar-container
">
<!-- Visitors -->
<h5><a href="/">来访者</a></h5>
<div class="widget">
<span>
Viewed <b><i><span id="busuanzi_value_site_pv"><i class="fa fa-spinner fa-spin"></i></span></i></b> Times
</span>
<br />
<span>
<b><i><span id="busuanzi_value_site_uv"><i class="fa fa-spinner fa-spin"></i></span></i></b> Visitors In Total
</span>
</div>
<hr>
<!-- Short About -->
<section class="visible-md visible-lg">
<h5><a href="/about/">关于自己</a></h5>
<div class="short-about">
<img id="avatar_pic" src="/img/avatar/avatar.jpg" alt="avatar_pic" style="box-shadow: 5px 5px 10px 5px rgba(0, 0, 0, .5);
-moz-box-shadow: 5px 5px 10px 5px rgba(0, 0, 0, .5);
-webkit-box-shadow: 5px 5px 10px 5px rgba(0, 0, 0, .5);" />
<p> 欢迎来到我的博客,这里是AzirKxs,一个涉猎广泛的技术爱好者,如果有任何问题可以bilibili私信我(b站同名),感谢各位的支持!</p>
<!-- SNS Link -->
<ul class="list-inline">
<li>
<a target="_blank" href="https://github.com/AzirKxs">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li>
<a target="_blank" href="https://www.zhihu.com/people/qin-mian-de-a-ku-xi-si-jiao-tu">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-stack-1x fa-inverse">知</i>
</span>
</a>
</li>
</ul>
</div>
</section>
<hr>
<!-- RECENT POSTS -->
<h5><a href="/">最近博文</a></h5>
<div class="widget">
<ul>
<a href="cn/Other08-%20%E7%A4%BE%E4%BC%9A%E8%BE%BE%E5%B0%94%E6%96%87%E4%B8%BB%E4%B9%89%E4%B8%BA%E4%BB%80%E4%B9%88%E6%98%AF%E9%94%99%E7%9A%84%EF%BC%9F/">
<li>社会达尔文主义为什么是错的?</li>
</a>
<a href="cn/js09-js%E9%AB%98%E7%BA%A7%E7%9F%A5%E8%AF%86%E6%80%BB%E7%BB%9303/">
<li>JS高级知识总结03</li>
</a>
<a href="cn/%E6%89%8B%E5%86%99%E7%B3%BB%E5%88%97--%E6%B7%B1%E6%8B%B7%E8%B4%9D%EF%BC%8C%E6%B5%85%E6%8B%B7%E8%B4%9D/">
<li>手写系列--深拷贝,浅拷贝</li>
</a>
<a href="cn/%E6%89%8B%E5%86%99%E7%B3%BB%E5%88%97-%E9%98%B2%E6%8A%96%E5%92%8C%E8%8A%82%E6%B5%81/">
<li>手写系列--防抖和节流</li>
</a>
<a href="cn/css05-CSS%E4%B8%89%E5%88%97%E5%B8%83%E5%B1%80/">
<li>css三列布局的实现</li>
</a>
</ul>
</div>
<hr>
<!-- Archives -->
<h5><a href="/archives/">archives</a></h5>
<div class="widget">
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="archives/2022/12/">December 2022</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="archives/2022/11/">November 2022</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="archives/2022/10/">October 2022</a><span class="archive-list-count">8</span></li><li class="archive-list-item"><a class="archive-list-link" href="archives/2022/09/">September 2022</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="archives/2022/08/">August 2022</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="archives/2022/07/">July 2022</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="archives/2022/05/">May 2022</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="archives/2022/04/">April 2022</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="archives/2022/03/">March 2022</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="archives/2022/01/">January 2022</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="archives/2021/09/">September 2021</a><span class="archive-list-count">9</span></li><li class="archive-list-item"><a class="archive-list-link" href="archives/2021/06/">June 2021</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="archives/2021/05/">May 2021</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="archives/2020/11/">November 2020</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="archives/2020/08/">August 2020</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="archives/1990/10/">October 1990</a><span class="archive-list-count">1</span></li></ul>
</div>
<hr>
<!-- Categories -->
<h5><a href="/categories/">categories</a></h5>
<div class="widget">
<ul>
<a href="/categories/#其它">
<li>其它</li>
</a>
<a href="/categories/#前端">
<li>前端</li>
</a>
<a href="/categories/#node.js">
<li>node.js</li>
</a>
<a href="/categories/#翻译">
<li>翻译</li>
</a>
<a href="/categories/#虚幻引擎4">
<li>虚幻引擎4</li>
</a>
</ul>
</div>
<hr>
<!-- Featured Tags -->
<section>
<h5><a href="/tags/">特色标签</a></h5>
<div class="tags">
<a href="/tags/#Git" title="Git" rel="1">Git</a>
<a href="/tags/#博客" title="博客" rel="1">博客</a>
<a href="/tags/#年终总结" title="年终总结" rel="1">年终总结</a>
<a href="/tags/#书评" title="书评" rel="3">书评</a>
<a href="/tags/#零碎观点" title="零碎观点" rel="1">零碎观点</a>
<a href="/tags/#ajax" title="ajax" rel="1">ajax</a>
<a href="/tags/#前后端交互" title="前后端交互" rel="1">前后端交互</a>
<a href="/tags/#学习记录" title="学习记录" rel="7">学习记录</a>
<a href="/tags/#js运行机制" title="js运行机制" rel="3">js运行机制</a>