issues
search
tc39
/
proposal-flatMap
proposal for flatten and flatMap on arrays
https://tc39.github.io/proposal-flatMap
214
stars
19
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
.d.ts proposal inaccurate
#76
shicks
closed
5 years ago
1
Add flat/flatMap to Array @@unscopables
#75
mathiasbynens
closed
5 years ago
2
Should these names be added to @@unscopables?
#74
ajklein
closed
5 years ago
5
Explore names other than `flat`/`smoosh`
#73
saschanaz
closed
2 years ago
7
Add simple README
#72
mathiasbynens
closed
5 years ago
0
Implementation status
#71
chicoxyzzy
opened
6 years ago
12
What about a fillMap ?
#70
lifaon74
closed
6 years ago
2
Why does this proposal not use the iterator protocol?
#69
saambarati
closed
6 years ago
5
Proposal for Array.depth to get depth of an nested array.
#68
dhunmoon
closed
6 years ago
6
What about Array.prototype.flat()?
#67
LeaVerou
closed
6 years ago
1
expose flatten as accessor pair on Array.prototype
#66
michaelficarra
closed
6 years ago
1
Is there a constraint on the mapping function having to return an Array?
#65
evilsoft
closed
6 years ago
9
Why does flatten remove empty slots in arrays?
#64
Mouvedia
closed
6 years ago
7
Rename flatten to flat
#63
Kerrick
closed
6 years ago
28
Array.prototype.shallowFlatten
#62
victornpb
closed
2 years ago
20
Write an explainer for the naming issue
#61
jakearchibald
closed
6 years ago
20
concatAll and concatMap rather than flatten and flatMap
#60
benlesh
closed
2 years ago
14
Use HTML feature opt-in for language level compatibility
#59
jonrimmer
closed
6 years ago
12
Would something like 'use stricter' satisfy the smoosh/flatten issue?
#58
ianwremmel
closed
6 years ago
1
Generalize flatMap to drop flatten
#57
gibson042
closed
6 years ago
3
rename flatten to smoosh
#56
michaelficarra
closed
6 years ago
97
fixes #54: only perform IsArray test when depth > 0
#55
michaelficarra
closed
6 years ago
0
Eliminate IsArray call purely for side-effects
#54
evilpie
closed
6 years ago
1
Update gh-pages
#53
evilpie
closed
6 years ago
4
Revisit: default depth of `flatten`
#52
dcporter
closed
6 years ago
1
test262 tests
#51
evilpie
closed
5 years ago
8
Move "length" checks of the receiver so they happen before argument checks
#50
ljharb
closed
6 years ago
0
Review comments
#49
anba
closed
6 years ago
10
'spreadable' to 'flattenable'
#48
jakearchibald
closed
6 years ago
1
[Fix] Prevent an additional hole being added to flattened arrays
#47
ljharb
closed
6 years ago
0
`mapper` is never used
#46
bga
closed
6 years ago
7
Replace spreadable with isArray
#45
jakearchibald
closed
6 years ago
5
stage 2 assigned reviewer sign-off
#44
michaelficarra
closed
6 years ago
1
Do we still want the `thisArg`?
#43
benlesh
closed
6 years ago
4
Set the array length explicitly
#42
ljharb
closed
6 years ago
7
FlattenIntoArray does not set length?
#41
ljharb
closed
6 years ago
0
FlattenIntoArray: ensure `thisArg` is present or undefined
#40
ljharb
closed
6 years ago
5
IsArray *and* arguments exotic objects?
#39
ljharb
closed
6 years ago
2
replace IsConcatSpreadable with IsArray
#38
michaelficarra
closed
6 years ago
4
Objections to stage 3 advancement
#37
domenic
closed
6 years ago
5
Readme?
#36
benjamingr
closed
7 years ago
3
Self-containing arrays in `.flatten(Infinity)`
#35
Jamesernator
closed
6 years ago
7
isConcatSpreadable implications for DOM collections
#34
domenic
closed
6 years ago
41
Bikeshed: flatten(3) vs. flatten({ depth: 3 })
#33
domenic
closed
7 years ago
10
Ignore holes - interpret them as own `undefined`, an alternative fix for #29
#32
zloirock
closed
7 years ago
1
fixes #29: flatMap eliminates holes
#31
michaelficarra
closed
7 years ago
0
fixes #28: use original array as 3rd mapper arg
#30
michaelficarra
closed
7 years ago
0
Checking existence of properties
#29
zloirock
closed
7 years ago
7
Inconsistency third argument of `.flatMap` callback with `.map` callback
#28
zloirock
closed
7 years ago
0
throw when attempting to flatten a value which is not isConcatSpreadable
#27
michaelficarra
closed
7 years ago
6
Next