This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const array = [1,2,3,4,5,6,7,8,9,10]; | |
| for (let i = 0 ; i < array.length ; i++){ | |
| console.log(array[i]) | |
| } | |
| let nbInArray = 9 | |
| for (let i2 = 0 ; i2 < array.length / 2 ; i2++){ | |
| let t2 = array[i2] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const john = 24 | |
| const barbara = 28 | |
| const patrick = 32 | |
| const benjamin = 17 | |
| const sylvie = 36 | |
| sumAge = john + barbara + patrick + benjamin + sylvie | |
| averageAge = sumAge / 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let a = 0 | |
| let b = 0 | |
| while(a <= 10){ | |
| result = a + b | |
| b = b + 1 | |
| a++ | |
| console.log(result) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var age = 29 | |
| var nameAndLastName = 'David Ruben' | |
| var formation = false | |
| var formationName = 'Wild Code School' | |
| console.log(typeof age) | |
| console.log(typeof nameAndLastName) | |
| console.log(typeof formation) | |
| console.log(typeof formationName) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="fr"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Hello Wilder</title> | |
| </head> | |
| <body> | |
| <script src="hello-wilder.js"></script> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 97 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 533 grep "France,2019,PHP" wilders.csv > php_france_2019.csv | |
| 534 grep JavaScript wilders.csv > javascript.csv | |
| 535 grep Toulouse wilders.csv > toulouse.csv | |
| 536 grep "France,2019,PHP" wilders.csv > php_france_2019.csv | |
| 537 grep JavaScript wilders.csv > javascript.csv | |
| 538 grep Toulouse javascript.csv > toulouse.csv | |
| 539 grep Biarritz javascript.csv > biarritz.csv | |
| 540 cat toulouse.csv biarritz.csv > javascript_biarritz_toulouse.csv | |
| 541 history | tail -n 9 > history.txt |
NewerOlder