time-to-botec/js/node_modules/@stdlib/utils/from-entries/docs/repl.txt
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

24 lines
439 B
Plaintext

{{alias}}( entries )
Creates an object from an array of key-value pairs.
Parameters
----------
entries: Array<Array>
Input object.
Returns
-------
out: Object
Object created from `[key, value]` pairs.
Examples
--------
> var entries = [ [ 'beep', 'boop' ], [ 'foo', 'bar' ] ];
> var obj = {{alias}}( entries )
{ 'beep': 'boop', 'foo': 'bar' }
See Also
--------