Skip to content

Commit 720b9f4

Browse files
authored
docs: move variable declarations closer to the loop
Signed-off-by: Gunj Joshi <[email protected]>
1 parent 357c949 commit 720b9f4

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ var bool = ( FLOAT64_MAX_SAFE_NTH_TRIBONACCI === 63 );
5858
```javascript
5959
var FLOAT64_MAX_SAFE_NTH_TRIBONACCI = require( '@stdlib/constants/float64/max-safe-nth-tribonacci' );
6060

61-
var v;
62-
var i;
63-
6461
function tribonacci( n ) {
6562
var a;
6663
var b;
@@ -89,6 +86,9 @@ function tribonacci( n ) {
8986
return c;
9087
}
9188

89+
var v;
90+
var i;
91+
9292
for ( i = 0; i < 100; i++ ) {
9393
v = tribonacci( i );
9494
if ( i > FLOAT64_MAX_SAFE_NTH_TRIBONACCI ) {

0 commit comments

Comments
 (0)