Skip to content

Commit ed4fa13

Browse files
committed
Revert "feat: added array/base/count-same-value-zero."
This reverts commit 104b5ba.
1 parent 104b5ba commit ed4fa13

File tree

1 file changed

+1
-4
lines changed
  • lib/node_modules/@stdlib/array/base/count-same-value-zero/lib

1 file changed

+1
-4
lines changed

lib/node_modules/@stdlib/array/base/count-same-value-zero/lib/main.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,10 @@ function complex( x, value ) {
144144
* @returns {NonNegativeInteger} number of elements that are equal to the given value
145145
*
146146
* @example
147-
*
148-
* var countSameValueZero = require( '@stdlib/array/base/is-same-value-zero' );
149-
*
150147
* var x = [ 0, 0, 1, 0, 1 ];
151148
*
152149
* var n = countSameValueZero( x, 1 );
153-
* // throws 2
150+
* // throws <ReferenceError>
154151
*/
155152
function countSameValueZero( x, value ) {
156153
if ( isAccessorArray( x, value ) ) {

0 commit comments

Comments
 (0)