709 - Generators
by steen_hansen
HTML
<!DOCTYPE html>
<meta charset="utf-8" />
<title>709 Generators</title>
<div id='js-div' style="width:50%">
<a href='https://github.com/steenhansen/type-czech' target="_blank" class='git-hub'>GitHub Package</a>
<div id='js-code'>the javascript</div>
<br>
</div>
<div id="the-explanation" style="width:50%">
<div class='an-explantion'>709 - Generators</div>
<div id='explanation-text'>
<div id="react-root"></div>
<br>
With generator functions, the interator.next() function is where the type checking mainly occurs.
<br>
Matching the object { value: 'iterator-value', done: true}.
<br><br>
</div>
<div id="console-log">
<div class='a-title'>Console Output</div>
<div id='log-text'></div>
<br>
</div>
<!-- -----------------TYPE 1------------------------ -->
<script s r c="../web-resources/consolelog.js"></script>
<link r e l="stylesheet" href="../web-resources/type-czech.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/steenhansen/type-czech@latest/web-resources/type-czech.css">
<script src="https://cdn.jsdelivr.net/gh/steenhansen/type-czech@latest/web-resources/consolelog.js"></script>
<script s r c="../web-resources/TypeCzech.js"></script>
<script src="https://cdn.jsdelivr.net/gh/steenhansen/type-czech@latest/web-resources/TypeCzech.min.js"></script>
<!-- ------------------TYPE 1------------------------ -->
<div id='js-fiddles'>
<a title="Example-Contents" href="https://jsfiddle.net/steen_hansen/1Lshcept/?Example-Contents" target="_blank">Contents</a>
<a title="00-Readme-Example" href="https://jsfiddle.net/steen_hansen/0xtpLwsc/?00-Readme-Example" target="_blank">00</a>
<a...