We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a993ae6 commit 79470f2Copy full SHA for 79470f2
lib/node_modules/@stdlib/_tools/github/get/lib/cache.js
@@ -28,7 +28,12 @@
28
* @returns {Array} cache
29
*/
30
function create( size ) {
31
- return new Array( size );
+ var cache = [];
32
+ var i;
33
+ for ( i = 0; i < size; i++ ) {
34
+ cache.push( null );
35
+ }
36
+ return cache;
37
}
38
39
lib/node_modules/@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js
@@ -55,7 +55,7 @@ var debug = logger( 'browser-entry-points:sync' );
55
* var pkgs = [ '/foo/bar/baz' ];
56
*
57
* var entries = entryPoints( pkgs );
58
-* // returns [{...}]
+* // e.g., returns [{...}]
59
60
function entryPoints( pkgs, options ) {
61
var results;
0 commit comments