Skip to content

Commit 951e4cc

Browse files
author
Ivan Ivanov
committed
styling
1 parent c22b1c0 commit 951e4cc

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
A short hand notation for `function()`, but it does not bind `this`.
33

44
```javascript
5+
let evens = [1,2,3,4,5,6,7,8,9];
6+
let fives = [];
57
let odds = evens.map(v => v + 1);
68
let nums = evens.map((v, i) => v + i);
79
let pairs = evens.map(v => ({
@@ -17,7 +19,6 @@ nums.forEach(v => {
1719

1820
console.log(odds);
1921
console.log(nums);
20-
console.log(pairs);
2122
```
2223

2324
How does `this` work?

styles/main.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,8 @@ body {
153153
[role="main"] #content h2:first-child {
154154
margin-top: 1.5em;
155155
}
156+
157+
[role="main"] #content #results {
158+
color: white;
159+
background: blue;
160+
}

0 commit comments

Comments
 (0)