DescriptionAdd {Map,Set}::FromArray to the API
These are similar to the Map/Set constructors when called with an array,
except that they are guaranteed to be side-effect free if called with
a packed array.
This will be useful in implementing structured clone which, as
specified in HTML, speaks in terms of the internal [[MapData]]
and [[SetData]] slots without going through the exposed iteration
ES semantics.
BUG=v8:3340
LOG=y
Committed: https://crrev.com/cb07b8ef1a5d868a66d847c8d78af58947d21425
Cr-Commit-Position: refs/heads/master@{#28642}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Add semicolons #Patch Set 3 : Rebased #
Messages
Total messages: 11 (4 generated)
|