Keyv.getMany - when all items are returned as `undefined` please return array of `undefined` instead of []
See original GitHub issueIs your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I’m always frustrated when […]
Currently when getMany() returns all undefined
it then gives just a blank array []
. Instead it should give an array of undefined
. Example:
['undefined', 'undefined', 'undefined']
@trevor-scheer - would love any feedback on this as we are looking to make this change.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
javascript function returns undefined instead of array values?
The return statement is inside the event handler, and cannot be taken into account by the wrapping function (when the handler is executed ......
Read more >Array map returning array of undefined values - JavaScript
It is returning an array with all undefined values. I am not sure why, any suggestions? let urls = [facultyBiosJSON, facultyDirectoryJSON]; ...
Read more >Objects - The Modern JavaScript Tutorial
A property is a “key: value” pair, where key is a string (also called a ... Reading a non-existing property just returns undefined...
Read more >Error: Undefined index: form_build_id in ajax_get_form()
The form outputs a list of nodes with a pager (jQuery Infinite Scroll plugin to append next results using the pager links) which...
Read more >track array variable cannot read property push of undefined
I have a track variable which is declared as an array. When I push data to it, I get the error "Cannot read...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Released 👉 https://github.com/jaredwray/keyv/releases/tag/2022-08-21
Thanks! I’ll keep my eyes peeled for the release. Quick glance at the changes lgtm.