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
| //Based on the demo https://gist.github.com/wesbos/cd16b8b1815825f111a2 | |
| (function(host) { | |
| if (typeof speechSynthesis === 'undefined') { | |
| console.warn('No speech syntesis feature available,' | |
| + 'calls to "say" will be ignored, try latest Google Chrome'); | |
| host.say = function() {}; | |
| return; | |
| } |
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
| , 70683 | |
| the 63919 | |
| and 51696 | |
| of 34618 | |
| . 26145 | |
| to 13560 | |
| that 12915 | |
| : 12721 | |
| in 12667 | |
| he 10420 |
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
| <?php | |
| // Type casting is easy on weak languages | |
| $a = (object) (array) (object) (array) (object) ["foo" => "bar"]; | |
| // PHP will happily iterate over an object (like Javascript) | |
| foreach($a as $key => $value) { | |
| print "$key = $value" . PHP_EOL; | |
| } |
OlderNewer