Skip to content

Commit 7a25c16

Browse files
authored
Fixed back-to-top links
1 parent 6468d45 commit 7a25c16

File tree

1 file changed

+35
-31
lines changed

1 file changed

+35
-31
lines changed

README.md

Lines changed: 35 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@
466466
console.log(foo[0], bar[0]); // => 9, 9
467467
```
468468
469-
**[⬆ back to top](#table-of-contents)**
469+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
470470
471471
## References
472472
@@ -534,7 +534,7 @@
534534
console.log(c); // 1
535535
```
536536
537-
**[⬆ back to top](#table-of-contents)**
537+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
538538
539539
## Objects
540540
@@ -708,7 +708,7 @@
708708
const { a, ...noA } = copy; // noA => { b: 2, c: 3 }
709709
```
710710
711-
**[⬆ back to top](#table-of-contents)**
711+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
712712
713713
## Arrays
714714
@@ -871,7 +871,7 @@
871871
];
872872
```
873873
874-
**[⬆ back to top](#table-of-contents)**
874+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
875875
876876
## Destructuring
877877
@@ -940,7 +940,7 @@
940940
const { left, top } = processInput(input);
941941
```
942942
943-
**[⬆ back to top](#table-of-contents)**
943+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
944944
945945
## Strings
946946
@@ -1051,7 +1051,7 @@
10511051
const profileRegex = /http(?:s?):\/\/website\.com\/user\/(\w+)/gi
10521052
```
10531053
1054-
**[⬆ back to top](#table-of-contents)**
1054+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
10551055
10561056
## Functions
10571057
@@ -1386,7 +1386,7 @@
13861386
);
13871387
```
13881388

1389-
**[⬆ back to top](#table-of-contents)**
1389+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
13901390

13911391
## Arrow Functions
13921392

@@ -1547,7 +1547,7 @@
15471547
)
15481548
```
15491549
1550-
**[⬆ back to top](#table-of-contents)**
1550+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
15511551
15521552
## Classes & Constructors
15531553
@@ -1713,7 +1713,7 @@
17131713
}
17141714
```
17151715

1716-
**[⬆ back to top](#table-of-contents)**
1716+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
17171717

17181718
## Modules
17191719

@@ -1925,7 +1925,7 @@
19251925
};
19261926
```
19271927

1928-
**[⬆ back to top](#table-of-contents)**
1928+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
19291929

19301930
## Properties
19311931

@@ -1973,7 +1973,7 @@
19731973
const binary = 2 ** 10;
19741974
```
19751975

1976-
**[⬆ back to top](#table-of-contents)**
1976+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
19771977

19781978
## Variables
19791979

@@ -2218,7 +2218,7 @@
22182218
let y = Math.floor(x);
22192219
```
22202220
2221-
**[⬆ back to top](#table-of-contents)**
2221+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
22222222
22232223
## Hoisting
22242224
@@ -2317,7 +2317,7 @@
23172317
23182318
- For more information refer to [JavaScript Scoping & Hoisting](http://www.adequatelygood.com/2010/2/JavaScript-Scoping-and-Hoisting/) by [Ben Cherry](http://www.adequatelygood.com/).
23192319
2320-
**[⬆ back to top](#table-of-contents)**
2320+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
23212321
23222322
## Comparison Operators & Equality
23232323
@@ -2497,7 +2497,7 @@
24972497
const bar = a + b / c * d;
24982498
```
24992499

2500-
**[⬆ back to top](#table-of-contents)**
2500+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
25012501

25022502
## Blocks
25032503

@@ -2620,7 +2620,7 @@
26202620
}
26212621
```
26222622
2623-
**[⬆ back to top](#table-of-contents)**
2623+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
26242624
26252625
## Control Statements
26262626
@@ -2689,7 +2689,7 @@
26892689
if (!isRunning) startRunning();
26902690
```
26912691

2692-
**[⬆ back to top](#table-of-contents)**
2692+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
26932693

26942694
## Comments
26952695

@@ -2839,7 +2839,7 @@
28392839
}
28402840
```
28412841

2842-
**[⬆ back to top](#table-of-contents)**
2842+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
28432843

28442844
## Whitespace
28452845

@@ -3321,7 +3321,7 @@
33213321
```
33223322
<!-- markdownlint-enable MD012 -->
33233323

3324-
**[⬆ back to top](#table-of-contents)**
3324+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
33253325

33263326
## Commas
33273327

@@ -3438,7 +3438,7 @@
34383438
);
34393439
```
34403440

3441-
**[⬆ back to top](#table-of-contents)**
3441+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
34423442

34433443
## Semicolons
34443444

@@ -3487,7 +3487,7 @@
34873487

34883488
[Read more](https://stackoverflow.com/questions/7365172/semicolon-before-self-invoking-function/7365214#7365214).
34893489

3490-
**[⬆ back to top](#table-of-contents)**
3490+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
34913491

34923492
## Type Casting & Coercion
34933493

@@ -3576,7 +3576,7 @@
35763576
const hasAge = !!age;
35773577
```
35783578

3579-
**[⬆ back to top](#table-of-contents)**
3579+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
35803580

35813581
## Naming Conventions
35823582

@@ -3840,7 +3840,7 @@
38403840
if (isActive) doSomething();
38413841
```
38423842

3843-
**[⬆ back to top](#table-of-contents)**
3843+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
38443844

38453845
## Accessors
38463846

@@ -3909,7 +3909,7 @@
39093909
}
39103910
```
39113911

3912-
**[⬆ back to top](#table-of-contents)**
3912+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
39133913

39143914
## Events
39153915

@@ -3942,7 +3942,7 @@
39423942
});
39433943
```
39443944

3945-
**[⬆ back to top](#table-of-contents)**
3945+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
39463946

39473947
## Standard Library
39483948

@@ -3982,7 +3982,7 @@
39823982
Number.isFinite(parseInt("2e3", 10)); // true
39833983
```
39843984

3985-
**[⬆ back to top](#table-of-contents)**
3985+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
39863986

39873987
## jQuery
39883988

@@ -4118,14 +4118,14 @@
41184118
});
41194119
```
41204120
4121-
**[⬆ back to top](#table-of-contents)**
4121+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
41224122
41234123
## ECMAScript 5 Compatibility
41244124
41254125
<a name="es5-compat--kangax"></a><a name="28.1"></a>
41264126
- [28.1](#es5-compat--kangax) Refer to [Kangax](https://twitter.com/kangax/)’s ES5 [compatibility table](https://kangax.github.io/es5-compat-table/).
41274127
4128-
**[⬆ back to top](#table-of-contents)**
4128+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
41294129
41304130
<a name="ecmascript-6-styles"></a>
41314131
## ECMAScript 6+ (ES 2015+) Styles
@@ -4153,7 +4153,7 @@
41534153
41544154
> Why? [They are not finalized](https://tc39.github.io/process-document/), and they are subject to change or to be withdrawn entirely. We want to use JavaScript, and proposals are not JavaScript yet.
41554155
4156-
**[⬆ back to top](#table-of-contents)**
4156+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
41574157
41584158
## Testing
41594159
@@ -4166,7 +4166,7 @@
41664166
- 100% test coverage is a good goal to strive for, even if it’s not always practical to reach it.
41674167
- Whenever you fix a bug, _write a regression test_. A bug fixed without a regression test is almost certainly going to break again in the future.
41684168
4169-
**[⬆ back to top](#table-of-contents)**
4169+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
41704170
41714171
## Performance
41724172
@@ -4181,7 +4181,7 @@
41814181
- [Long String Concatenation](https://jsperf.com/ya-string-concat)
41824182
- [Are JavaScript functions like `map()`, `reduce()`, and `filter()` optimized for traversing arrays?](https://www.quora.com/JavaScript-programming-language-Are-Javascript-functions-like-map-reduce-and-filter-already-optimized-for-traversing-array/answer/Quildreen-Motta)
41834183
4184-
**[⬆ back to top](#table-of-contents)**
4184+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
41854185
41864186
## Resources
41874187
@@ -4248,7 +4248,7 @@
42484248
- [JavaScript Air](https://javascriptair.com/)
42494249
- [JavaScript Jabber](https://devchat.tv/js-jabber/)
42504250
4251-
**[⬆ back to top](#table-of-contents)**
4251+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
42524252
42534253
## Copyright
42544254
@@ -4258,11 +4258,15 @@
42584258
<a name="copyright--license"></a><a name="33.2"></a>
42594259
- [33.2](#copyright--license) It uses the same [License](https://github.com/NullDevCo/JavaScript-Styleguide/blob/master/LICENSE).
42604260

4261+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
4262+
42614263
## Amendments
42624264

42634265
<a name="amendments--forking"></a><a name="34.1"></a>
42644266
- [34.1](#amendments--forking) We encourage you to fork this guide and change the rules to fit your team’s style guide. :smile_cat:
42654267

4268+
**[⬆ back to top](#table-of-contents-bookmark_tabs)**
4269+
42664270
<br><br><br>
42674271

42684272
<p align="center">

0 commit comments

Comments
 (0)