Angelos Chalaris
b972c93b39
Merge pull request #59 from svenluijten/patch-1
...
use const in snippet template
2017-12-13 11:38:42 +02:00
Hendra Susanto
f53f1e4a52
Check for array length in tail function to return the correct value for single-value arrays.
2017-12-13 16:37:41 +07:00
Sven Luijten
ca95624a1e
use const in snippet template
2017-12-13 10:37:33 +01:00
Angelos Chalaris
c170b49fcb
Build README
2017-12-13 11:36:56 +02:00
Angelos Chalaris
5dd4c96274
Merge pull request #55 from fejes713/master
...
Add value or default
2017-12-13 11:36:28 +02:00
Angelos Chalaris
e330ff3f8f
Build README
2017-12-13 11:32:52 +02:00
Angelos Chalaris
33ff5064e2
Merge pull request #45 from macsmac/master
...
Added getType function
2017-12-13 11:31:51 +02:00
Angelos Chalaris
0a114151c0
Fix typo in snippet file
2017-12-13 11:30:39 +02:00
Angelos Chalaris
6c4f99db4d
Merge pull request #56 from Maryom/master
...
Fixed a typo in README.md
2017-12-13 11:29:40 +02:00
Mariam
ed23eaf99e
Fixed a typo in README.md
2017-12-13 11:13:16 +03:00
Stefan Feješ
203d646abc
Add value or default
2017-12-13 08:34:42 +01:00
Farhad
556ef539fd
Add bottomVisible
2017-12-13 09:15:41 +03:30
atomiks
5502174360
Rename median-of-array-of.md to median-of-array-of-numbers.md
2017-12-13 10:04:55 +11:00
atomiks
ccbe7c510a
Create median-of-array-of.md
2017-12-13 10:03:49 +11:00
Angelos Chalaris
d1ee299342
Build README
2017-12-13 00:49:17 +02:00
Angelos Chalaris
bd1e223214
Merge pull request #52 from atomiks/patch-1
...
Create random-integer-in-range.md
2017-12-13 00:48:48 +02:00
atomiks
28c2a2e4b6
Create random-integer-in-range.md
2017-12-13 09:47:16 +11:00
Elder Henrique Souza
576b96a0f8
refactor to account for variadic functions
...
altough certainly more verbose, this version accounts for variadic functions such as Math.min that can't represent it's arity with the length property properly. for such cases you can pass the optional argument arity (as in the edited example).
what do you think?
2017-12-12 20:26:01 -02:00
Angelos Chalaris
868f043ea0
Build README
2017-12-13 00:11:27 +02:00
Adrian Klimek
05d3a8b0e2
Update the snippet description (odd or even number)
2017-12-12 23:11:03 +01:00
Angelos Chalaris
106e2aa893
Merge pull request #49 from sergei-zelinsky/deep-flatten-array-fix
...
fix deep flatten array implementation
2017-12-13 00:09:47 +02:00
Sergei Zelinsky
1dcb8244e1
fix deep flatten array implementation
2017-12-13 00:02:52 +02:00
Angelos Chalaris
54969e66f3
Merge pull request #48 from iamsoorena/master
...
fixing minor type bug in flatten function
2017-12-12 23:41:45 +02:00
Adrian Klimek
15827ebf23
Simplify isEven function
2017-12-12 22:37:34 +01:00
Soorena
280cefb801
Update flatten-array.md
...
add closing bracket to the comment part
2017-12-13 00:56:44 +03:30
Jussi Saurio
76a97266ee
build readme
2017-12-12 22:28:46 +02:00
Jussi Saurio
f0982a01a3
Make 'Anagrams of string' fully functional
...
Gets rid of mutable `.push` (and param reassignment) inside `.map`
2017-12-12 22:23:44 +02:00
macsmac
4f8bbf4733
Added getType function
2017-12-13 00:33:36 +05:00
Angelos Chalaris
292411a812
Build README
2017-12-12 20:58:47 +02:00
Angelos Chalaris
0ec6db17e0
Merge pull request #43 from elderhsouza/patch-3
...
get max value from array
2017-12-12 20:57:55 +02:00
Angelos Chalaris
2345efd389
Update description of min array value, build README
2017-12-12 20:57:39 +02:00
Angelos Chalaris
02de89b277
Merge pull request #42 from elderhsouza/patch-2
...
get minimum value from an array
2017-12-12 20:56:30 +02:00
Angelos Chalaris
52bb235344
Update RGB to Hex, build README
2017-12-12 20:54:57 +02:00
Angelos Chalaris
6f6e6d2289
Merge pull request #9 from kutsan/patch-1
...
Update RGB to hexadecimal to new bitwise version
2017-12-12 20:52:33 +02:00
Kutsan Kaplan
39a8c6c618
Update RGB to hexadecimal to new bitwise version
2017-12-12 21:42:56 +03:00
Christopher Engels
dcea680b08
Refactor measure-time-taken-by-function from spread syntax to callback function
2017-12-12 19:18:53 +01:00
Elder Henrique Souza
77b2623f02
added return value in the description
2017-12-12 16:12:39 -02:00
Elder Henrique Souza
699f291edc
get max value from array
...
just a version to get the max value from an array
2017-12-12 16:11:13 -02:00
Elder Henrique Souza
455b2cf570
added missing square bracket on example
2017-12-12 16:04:52 -02:00
Elder Henrique Souza
8b88149ce2
get minimum value from an array
...
I think it shows a good use of the spread operator in variadic functions
2017-12-12 15:53:20 -02:00
Angelos Chalaris
271130ef08
Build README
2017-12-12 19:21:31 +02:00
Angelos Chalaris
1a69ec2ea4
Merge pull request #40 from elderhsouza/patch-1
...
minor refactor to the fibonacci array generator
2017-12-12 19:21:10 +02:00
Angelos Chalaris
ef293a1344
Update fibonacci-array-generator.md
2017-12-12 19:20:56 +02:00
Angelos Chalaris
323212ce71
Updated filename
2017-12-12 19:07:42 +02:00
Angelos Chalaris
38c40d5959
Merge pull request #39 from ecwyne/patch-1
...
fix typo
2017-12-12 19:07:04 +02:00
Robin Thomas
e0fcf9fe05
Added async function chain
2017-12-12 10:46:05 -06:00
Elder Henrique Souza
aab7a8da22
Update fibonacci-array-generator.md
...
The fibonacci sequence being zero indexed as well as the arrays, I think we could just initialize an array with the passed length, fill it with zeroes and use the indexes for the first positions.
2017-12-12 14:45:24 -02:00
Eric Wyne
19b5dd66aa
fix typo
2017-12-12 08:44:40 -08:00
Angelos Chalaris
836216242d
Added array shuffle
2017-12-12 18:39:24 +02:00
King
daed5cb902
Merge branch 'master' of https://github.com/Chalarangelo/30-seconds-of-code into add-chunkArray
2017-12-12 11:32:33 -05:00