3 ms·
The new one shadows it.
by munificent 7y ago
The new one shadows it.
- dotancohen 7y agoLocal scope might not be what the programmer wants, though, depending on circumstance. Pseudocode: i = 3; foo = \0; while ( i-- ) { if ( foo = resultFromFooApi() ) { break; } sleep 1; } return foo;