-
-
Save BSierakowski/4a81e6c71f72121db38d7f253ccff3ab to your computer and use it in GitHub Desktop.
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
getAllLaunchInformation().then((launchData) => { | |
let successStreak = 0; | |
launchData.map((launch) => { | |
if(launch.launch_success === true ) { | |
successStreak++; | |
} else if (launch.launch_success === false) { | |
successStreak = 0; | |
} | |
}) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment