Commit graph

246 commits

Author SHA1 Message Date
Ilya Kantor
bb3f9aaa40
Merge pull request #1543 from lumosmind/patch-12
linked list must end with 'null'
2019-10-29 23:37:46 +03:00
Ilya Kantor
e8947f7b58
Merge pull request #1546 from lumosmind/patch-14
function declaration vs function call conflict
2019-10-29 23:36:20 +03:00
Ilya Kantor
c5c94bce3b closes #1547 2019-10-29 23:35:35 +03:00
lumosmind
97cd2fca8d
function declaration vs function call conflict
function() { return count++; } is running because it is a function declaration. It is running and result of this running a function has been created and sent as a parameter to return command. "return count++;" this part is not running because the function has not been called yet.
2019-10-29 21:33:42 +03:00
lumosmind
95495bd5dc
linked list must end with 'null'
We need to put 'null' to end of linked list. otherwise wen we want to get last item in the linked list, it will be undefined. And this situation inconsistent with object literal definition of linked list above.
2019-10-29 16:50:37 +03:00
Ilya Kantor
d5195b5d59 closes #1524 #716 2019-10-29 06:32:44 +03:00
Ilya Kantor
2e5fa7810b minor 2019-10-22 11:39:32 +03:00
Ilya Kantor
01bb68474c
Merge pull request #1471 from hrodward/patch-8
Update article.md
2019-10-22 10:34:53 +03:00
Ilya Kantor
ddf9d1e890
Merge pull request #1489 from hrodward/patch-15
Update article.md
2019-10-21 16:15:57 +03:00
Ilya Kantor
ea506192b2
Merge pull request #1488 from hrodward/patch-14
Update task.md
2019-10-21 16:15:40 +03:00
hrodward
cd97f84c94
Update article.md
Grammar
2019-10-21 08:49:55 +02:00
hrodward
cc3c01bd94
Update task.md
Grammar
2019-10-21 08:30:26 +02:00
hrodward
74ad826d0d
Update article.md
Grammar
2019-10-21 08:09:39 +02:00
Ilya Kantor
3483424f62
Merge pull request #1476 from hrodward/patch-9
Update article.md
2019-10-19 20:25:02 +03:00
Ilya Kantor
6634181d6d
Merge pull request #1477 from hrodward/patch-10
Update article.md
2019-10-19 20:24:41 +03:00
Ilya Kantor
edfc79d4dc
Merge pull request #1479 from hrodward/patch-11
Update task.md
2019-10-19 20:23:55 +03:00
hrodward
2ffc997180
Update solution.md
Minor grammar fixes and suggestions
2019-10-18 14:58:37 +02:00
hrodward
a2b45a852f
Update task.md
Minor grammar; removed unnecessary semicolon; added (best practices) semicolon
2019-10-18 11:37:45 +02:00
hrodward
5ac537f211
Update article.md
Deleted the full-stop as it's one sentence only
2019-10-18 08:37:21 +02:00
hrodward
81a250337d
Update article.md
There has to be a scary CPU-intensive task here, otherwise the example wouldn't make sense. Hence the suppression of "can";
I have also removed "actually" because in this context it would be interpreted as "to your surprise", which is not the case here
2019-10-18 08:07:53 +02:00
Artur Haurylkevich
ee80b55a1b
add test case for debounce 2019-10-17 22:01:44 +03:00
hrodward
da8af69e01
Update article.md
Grammar fixes
2019-10-17 13:56:11 +02:00
Ilya Kantor
bb2a2594d8
Merge pull request #1465 from hrodward/patch-4
Update article.md
2019-10-17 10:58:13 +03:00
Ilya Kantor
519770187c
Merge pull request #1466 from hrodward/patch-6
Update article.md
2019-10-17 10:58:03 +03:00
Ilya Kantor
615609e19c
Merge pull request #1467 from hrodward/patch-7
Update article.md
2019-10-17 10:57:25 +03:00
hrodward
e014aa43c1
Update article.md
Grammatical fixes
2019-10-16 15:07:48 +02:00
hrodward
994c76ba8a
Update article.md
Punctuation marks fixes
2019-10-16 10:56:28 +02:00
hrodward
ba221014a4
Update article.md
Minor fixes
2019-10-16 10:50:03 +02:00
hrodward
f2e6a182fd
Update article.md
Use of "till" is informal: https://dictionary.cambridge.org/grammar/british-grammar/until
2019-10-16 10:27:54 +02:00
hrodward
8d41acba64
Update article.md
Grammatical fix
2019-10-16 10:22:26 +02:00
Violet.Lee
c6568ab742
minor 2019-10-12 23:08:32 +09:00
Ilya Kantor
7418213b66 re-import images from Sketch (no changes) 2019-10-10 17:08:16 +03:00
jamesblckwell
f24a6e577b
Fixed typo on line 366
"Now when the call looks for `count` variable, it first searches its own Lexical Environment (empty), then the Lexical Environment of the outer `makeCounter()` call, where finds it."

to
 
"Now when the call looks for `count` variable, it first searches its own Lexical Environment (empty), then the Lexical Environment of the outer `makeCounter()` call, where it finds it."
2019-10-07 12:05:39 +01:00
Ilya Kantor
c8a11f3e86 minor 2019-10-02 10:36:06 +03:00
paroche
6e485cde25
Update article.md
Wording on internal name and Function Declarations.
2019-09-14 14:13:33 -06:00
Ilya Kantor
cf19e84a3b
Merge pull request #1342 from paroche/patch-33
Update task.md
2019-09-14 09:30:59 +03:00
paroche
eda95124c4
Update article.md
Remove comma.
2019-09-13 22:45:46 -06:00
paroche
7886e24b0f
Update task.md
Wording / punctuation change.
2019-09-13 20:58:31 -06:00
paroche
4d139e94cd
Update article.md
Minor wording change.
2019-09-12 22:35:25 -06:00
Ilya Kantor
235a2ed197 minor 2019-09-04 18:53:30 +03:00
paroche
1f969670b2
Update article.md
As per issue comment thread #1282: 
Clarifying "current code" for zero delay setInterval. 
Plus minor edit of ordering of terms for greater consistency.
Plus minor grammatical fixes.
2019-09-03 17:21:32 -06:00
paroche
cdde99fd19
Update task.md
Wording was ungrammatical and hard to understand. I made my best guess as to what you want to say. However, it is not clear from the description or the examples whether the debounce wrapper should inhibit calls attempted ms milliseconds after the last call that wasn't ignored, or ms milliseconds after the last call that was attempted, even if it was ignored. I would think it would be the former, but the example could go either way. If the f(4) example used 1000 or 1001 ms and still runs, that would clear it up. If it has to be 1100 like it is, that would suggest that it's the second scenario above. In my propsed change I preserved the ambiguity.
2019-09-02 19:49:54 -06:00
Ilya Kantor
ade541bd61 closes #1294 2019-09-02 23:57:08 +03:00
Ilya Kantor
b2cedf7b0a closes #1308 2019-09-02 23:43:51 +03:00
Ilya Kantor
427fbea180 minor 2019-09-02 21:58:57 +03:00
paroche
bcae3c640f
Update article.md 2019-09-01 19:31:28 -06:00
paroche
6292469b88
Update article.md
Qualify that while cachingDecorator() will now work with any number of arguments, the hash() function given will not. Or, perhaps better, could just change the hash function to something like:

function hash(args) {
  return [...args].join();
}
2019-09-01 19:14:59 -06:00
paroche
ace9460329
Update article.md
Wording of initial explanation of spread operator.
2019-08-31 20:01:01 -06:00
Ilya Kantor
60a64a9a1a
Merge pull request #1288 from atimidguy/master
Typo/grammar fix
2019-08-28 17:56:03 +03:00
atimidguy
990cc4085c
Update article.md 2019-08-28 20:13:51 +08:00