Both sides previous revisionPrevious revisionNext revision | Previous revision |
custom:javascript [2021/02/03 20:09] – [About] fix mozilla links mlong | custom:javascript [2023/08/04 19:24] (current) – [Input] A little more clarity on console.getbyte() digital man |
---|
[[https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/JavaScript_Overview#JavaScript_and_Java|JavaScript is not Java]]. | [[https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/JavaScript_Overview#JavaScript_and_Java|JavaScript is not Java]]. |
| |
The ECMA and ISO standards organizations have standardized the core JavaScript language in [[http://developer.netscape.com/docs/javascript/e262-pdf.pdf|ECMA-262]] (ECMAScript) and ISO-16262. | The ECMA and ISO standards organizations have standardized the core JavaScript language in [[https://262.ecma-international.org/5.1/ECMA-262.pdf|ECMA-262]] (ECMAScript) and ISO-16262. |
| |
===== Baja and JavaScript ===== | ===== Baja and JavaScript ===== |
| ''console.getstr()'' | Yes | No | Get a string of characters from user | | | ''console.getstr()'' | Yes | No | Get a string of characters from user | |
| ''console.getkey()'' | Yes | No | Get a single key-press | | | ''console.getkey()'' | Yes | No | Get a single key-press | |
| ''console.getbyte()'' | Yes | No | Get a unprocessed input byte from remote terminal | | | ''console.getbyte()'' | Yes | No | Get an unprocessed input byte from remote terminal as a number | |
| ''console.getnum()'' | Yes | No | Get a number (between 1 and maxnum) from user | | | ''console.getnum()'' | Yes | No | Get a number (between 1 and maxnum) from user | |
| ''console.getkeys()'' | Yes | No | Get a key from a list of valid keys, or a number | | | ''console.getkeys()'' | Yes | No | Get a key from a list of valid keys, or a number | |