Commit Graph

1249 Commits

Author SHA1 Message Date
f275982100 Get scroll position of HTMLElement / window 2017-12-12 11:52:09 +00:00
17cef1d18a Update Check_for_palindrome.md
Yes it's working and I double checked
2017-12-12 16:42:59 +05:30
d372b7dbbe Correct a typo in "slice". 2017-12-12 12:55:59 +02:00
150f200fe8 add a isDivisible function 2017-12-12 11:50:06 +01:00
d76c55010b Create Check_for_palindrome.md 2017-12-12 16:08:50 +05:30
86a45a977a Merge pull request #23 from rob-murray/update-last-in-list-func-name
Change last-of-list function name
2017-12-12 12:13:29 +02:00
65bdb7e6cb Build README 2017-12-12 12:12:44 +02:00
e55ccbb3b7 Merge pull request #19 from tkalfigo/count-occurrences-of-value-in-array-with-reduce
Count occurrences of value in array with reduce
2017-12-12 12:11:22 +02:00
24f101042a Change last-of-list function name
Update Last of List function name to `last` to avoid confusion.
2017-12-12 10:08:30 +00:00
b9e45241f2 Build README 2017-12-12 11:54:19 +02:00
feb82f8a66 add another way to calculate factorial 2017-12-12 18:38:20 +09:00
8743d1ae63 Updated string reversal 2017-12-12 11:27:10 +02:00
00ac4b38e3 Count occurrences of value in array with reduce
Doesn't require creation of new array as with current solution.
2017-12-12 10:26:01 +01:00
282bf85f4f Build README 2017-12-12 11:16:47 +02:00
92274e5337 Merge pull request #10 from sompylasar/patch-1
Capitalize first letter: safe against empty string
2017-12-12 11:16:01 +02:00
f828c18bfb Build README 2017-12-12 11:14:13 +02:00
cfb90b0a8d Build README 2017-12-12 11:09:27 +02:00
018ebcc6d2 Unique values and filtering 2017-12-12 10:59:22 +02:00
e72c45a2bf Merge pull request #7 from prodigic/master
Update unique-values-of-array.md
2017-12-12 10:56:24 +02:00
4236e94681 Updated distance to use Math.hypot() 2017-12-12 10:52:57 +02:00
a4675c1e86 Fix syntax error 2017-12-12 09:45:19 +01:00
a1cddc136b Return object directly from arrow function 2017-12-12 08:08:09 +01:00
649d1c3ae0 Capitalize first letter: safe against empty string
`""[0]` -> `undefined`
`"".slice(0, 1)` -> `""`
2017-12-11 18:29:37 -08:00
8ff3a7dfa3 Update unique-values-of-array.md 2017-12-11 16:46:07 -08:00
6afc552fa2 Fix typos
Fix typos
2017-12-11 23:31:54 +01:00
52a2d22439 Remove stray open curly brace
Removes open curly brace in console.log in Measure time taken by function snippet
2017-12-11 14:40:53 -05:00
77d0d4c892 Housekeeping 2017-12-10 18:00:03 +02:00
8ae2b83136 Housekeeping, head, tail, init and last of list 2017-12-10 17:59:07 +02:00
74d7505289 Escape regexp 2017-12-10 16:55:32 +02:00
367ee7f390 Generic currying 2017-12-10 15:21:35 +02:00
a0b7068cc1 Similarity between arrays, object from key-value pairs 2017-12-10 15:02:07 +02:00
f663d8494b Difference between arrays 2017-12-09 17:24:34 +02:00
bc6f21d78a Distance between two points 2017-12-08 16:09:05 +02:00
d336333f9e Factorial and powerset 2017-12-07 14:41:33 +02:00
be3c075f12 Array average and range initialization 2017-12-07 12:55:56 +02:00
71c915cee6 Performance measuring, scroll to top, array flattening 2017-12-07 12:00:34 +02:00
2e68f8ae86 Number validation 2017-12-07 02:25:29 +02:00
88ef09c2cb Capitalize first letter, get current URL 2017-12-07 02:15:01 +02:00
aefa989de6 URL parameters 2017-12-07 02:10:12 +02:00
0a1da5e868 UUID and URL redirection 2017-12-07 00:22:24 +02:00
3321bf9e22 Swap, anagrams, occurences
Fixed sorting title for strings.
2017-12-06 23:50:23 +02:00
91c257ec38 Fix initialize-array-with-values.md 2017-11-30 20:07:02 +02:00
466325da13 Array initialization 2017-11-30 20:06:16 +02:00
0b223c3b2d Updated RGB to Hex conversion 2017-11-30 19:54:11 +02:00
2f6afaea73 Fibonacci and random 2017-11-30 19:45:56 +02:00
8acce10885 Formatted snippets
Consistency in headings.
2017-11-30 19:17:33 +02:00
4c53799970 Fix build.js some more 2017-11-30 19:16:34 +02:00
66859e1eca Additional snippets 2017-11-30 19:12:13 +02:00
ba784f314b First snippet, builder working 2017-11-30 17:40:06 +02:00