Skip to content

Commit 6697ba4

Browse files
authored
chore: use const/let instead of var
Signed-off-by: Philipp Burckhardt <[email protected]>
1 parent 6036a47 commit 6697ba4

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/blas/ext/base/dnansum

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/blas/ext/base/dnansum/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ Computes the sum of double-precision floating-point strided array elements, igno
4343
```javascript
4444
const Float64Array = require( '@stdlib/array/float64' );
4545

46-
var x = new Float64Array( [ 1.0, -2.0, NaN, 2.0 ] );
46+
const x = new Float64Array( [ 1.0, -2.0, NaN, 2.0 ] );
4747

48-
var v = dnansum( x.length, x, 1 );
48+
const v = dnansum( x.length, x, 1 );
4949
// returns 1.0
5050
```
5151

@@ -89,7 +89,7 @@ const Float64Array = require( '@stdlib/array/float64' );
8989

9090
const x = new Float64Array( [ 1.0, -2.0, NaN, 2.0 ] );
9191

92-
var v = dnansum.ndarray( x.length, x, 1, 0 );
92+
const v = dnansum.ndarray( x.length, x, 1, 0 );
9393
// returns 1.0
9494
```
9595

0 commit comments

Comments
 (0)