File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
lib/node_modules/@stdlib/iter/docs/types Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -645,9 +645,9 @@ interface Namespace {
645
645
* return v > 2;
646
646
* }
647
647
*
648
- * function assert( v, i ) {
649
- * if ( i > 1 ) {
650
- * throw new Error( 'unexpected error ' );
648
+ * function assert( v ) {
649
+ * if ( v !== v ) {
650
+ * throw new Error( 'should not be NaN ' );
651
651
* }
652
652
* }
653
653
*
@@ -693,9 +693,9 @@ interface Namespace {
693
693
* return v < 3;
694
694
* }
695
695
*
696
- * function assert( v, i ) {
697
- * if ( i > 1 ) {
698
- * throw new Error( 'unexpected error ' );
696
+ * function assert( v ) {
697
+ * if ( v !== v ) {
698
+ * throw new Error( 'should not be NaN ' );
699
699
* }
700
700
* }
701
701
*
@@ -1784,7 +1784,7 @@ interface Namespace {
1784
1784
* // returns 1
1785
1785
*
1786
1786
* r = iter.next().value;
1787
- * // returns 2
1787
+ * // returns 3
1788
1788
*
1789
1789
* // ...
1790
1790
*/
You can’t perform that action at this time.
0 commit comments