Skip to content

Commit d8f8bb2

Browse files
committed
docs: add links
1 parent 253a22d commit d8f8bb2

File tree

1 file changed

+5
-3
lines changed
  • lib/node_modules/@stdlib/ndarray/iter/rows

1 file changed

+5
-3
lines changed

lib/node_modules/@stdlib/ndarray/iter/rows/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ arr = ndarray2array( v );
103103
// returns [ 10, 2 ]
104104
```
105105

106-
The returned iterator protocol-compliant object has the following properties:
106+
The returned [iterator][mdn-iterator-protocol] protocol-compliant object has the following properties:
107107

108-
- **next**: function which returns an iterator protocol-compliant object containing the next iterated value (if one exists) assigned to a `value` property and a `done` property having a `boolean` value indicating whether the iterator is finished.
109-
- **return**: function which closes an iterator and returns a single (optional) argument in an iterator protocol-compliant object.
108+
- **next**: function which returns an [iterator][mdn-iterator-protocol] protocol-compliant object containing the next iterated value (if one exists) assigned to a `value` property and a `done` property having a `boolean` value indicating whether the [iterator][mdn-iterator-protocol] is finished.
109+
- **return**: function which closes an [iterator][mdn-iterator-protocol] and returns a single (optional) argument in an [iterator][mdn-iterator-protocol] protocol-compliant object.
110110

111111
</section>
112112

@@ -183,6 +183,8 @@ while ( true ) {
183183

184184
<section class="links">
185185

186+
[mdn-iterator-protocol]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterator_protocol
187+
186188
[@stdlib/ndarray/ctor]: https://github.com/stdlib-js/stdlib
187189

188190
[@stdlib/ndarray/slice]: https://github.com/stdlib-js/stdlib

0 commit comments

Comments
 (0)