This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am jaromb on github. | |
* I am jarombridges (https://keybase.io/jarombridges) on keybase. | |
* I have a public key ASBQU1A_eT6BwA2s1RyphbUtY5YFcfbLpsYa7Cj3FTuxFwo | |
To claim this, I am signing this object: |
This file contains 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
// 52: Generator - Send value to a generator | |
// To do: make all tests pass, leave the assert lines unchanged! | |
// Follow the hints of the failure messages! | |
describe('Pass a value to a generator', () => { | |
it('basics: get the values from a generator in two ways', function() { | |
function* generatorFunction() { | |
yield 1; | |
yield 2; | |
} |