jsguide: Replaced unfamiliar words with simpler alternatives. (#849)

Fixes #596.
This commit is contained in:
SohanRaidev authored and GitHub committed 2025-04-24 14:22:31 -04:00
1 parent 7802b6521b
commit f58fbeff23
1 file changed
+8 -9
+8 -9
View File
@@ -2827,20 +2827,19 @@ comment on the preceding line.</p>
<pre><code class="language-js prettyprint good">/**
* A useful type union, which is reused often.
* @typedef {!Bandersnatch|!BandersnatchType}
* @typedef {!FruitType|!FruitTypeEnum}
*/
let CoolUnionType;
/**
* Types of bandersnatches.
* Types of fruits.
* @enum {string}
*/
const BandersnatchType = {
/** This kind is really frumious. */
FRUMIOUS: 'frumious',
/** The less-frumious kind. */
MANXOME: 'manxome',
const FruitTypeEnum = {
/** This kind is very sour. */
SOUR: 'sour',
/** The less-sour kind. */
SWEET: 'sweet',
};
</code></pre>