minor
This commit is contained in:
parent
05a93ced80
commit
811a6c7920
2 changed files with 22 additions and 0 deletions
8
1-js/3-code-quality/1-debugging-chrome/head.html
Normal file
8
1-js/3-code-quality/1-debugging-chrome/head.html
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<style>
|
||||||
|
span.devtools {
|
||||||
|
display: inline-block;
|
||||||
|
background-image: url(/article/debugging-chrome/statusbarButtonGlyphs.svg);
|
||||||
|
height:16px;
|
||||||
|
width:16px;
|
||||||
|
}
|
||||||
|
</style>
|
14
1-js/4-data-structures/10-arguments-pseudoarray/head.html
Normal file
14
1-js/4-data-structures/10-arguments-pseudoarray/head.html
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<script>
|
||||||
|
function copy() {
|
||||||
|
var dst = arguments[0];
|
||||||
|
|
||||||
|
for (var i = 1; i < arguments.length; i++) {
|
||||||
|
var arg = arguments[i];
|
||||||
|
for (var key in arg) {
|
||||||
|
dst[key] = arg[key];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return dst;
|
||||||
|
}
|
||||||
|
</script>
|
Loading…
Add table
Add a link
Reference in a new issue