Skip to content

Commit f58fbef

Browse files
authored
jsguide: Replaced unfamiliar words with simpler alternatives. (#849)
Fixes #596.
1 parent 7802b65 commit f58fbef

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

jsguide.html

+8-9
Original file line numberDiff line numberDiff line change
@@ -2827,20 +2827,19 @@ <h3 id="jsdoc-enum-and-typedef-comments">7.7 Enum and typedef comments</h3>
28272827

28282828
<pre><code class="language-js prettyprint good">/**
28292829
* A useful type union, which is reused often.
2830-
* @typedef {!Bandersnatch|!BandersnatchType}
2830+
* @typedef {!FruitType|!FruitTypeEnum}
28312831
*/
28322832
let CoolUnionType;
2833-
2834-
2833+
28352834
/**
2836-
* Types of bandersnatches.
2835+
* Types of fruits.
28372836
* @enum {string}
28382837
*/
2839-
const BandersnatchType = {
2840-
/** This kind is really frumious. */
2841-
FRUMIOUS: 'frumious',
2842-
/** The less-frumious kind. */
2843-
MANXOME: 'manxome',
2838+
const FruitTypeEnum = {
2839+
/** This kind is very sour. */
2840+
SOUR: 'sour',
2841+
/** The less-sour kind. */
2842+
SWEET: 'sweet',
28442843
};
28452844
</code></pre>
28462845

0 commit comments

Comments
 (0)