Skip to content

Commit 1d38d04

Browse files
committed
Update REPL text guidance
1 parent 791a5dd commit 1d38d04

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

docs/repl_text.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Read-eval-print-loop (REPL) texts are plain text documents which provide help in
88
> help( lowercase )
99

1010
lowercase( str )
11-
Converts a `string` to lowercase.
11+
Converts a string to lowercase.
1212

1313
Parameters
1414
----------
@@ -149,7 +149,7 @@ The short description should be a single sentence written in the simple present
149149
150150
```text
151151
lowercase( str )
152-
Converts a `string` to lowercase.
152+
Converts a string to lowercase.
153153
154154
...
155155
```
@@ -158,7 +158,7 @@ Do **not** write the description in the declarative mood. For example, avoid
158158

159159
```text
160160
lowercase( str )
161-
Convert a `string` to lowercase.
161+
Convert a string to lowercase.
162162
163163
...
164164
```
@@ -179,7 +179,7 @@ dcopy( N, x, strideX, y, strideY )
179179
Indexing is relative to the first index. To introduce an offset, use typed
180180
array views.
181181
182-
If `N` is less than or equal to `0`, the function returns `y` unchanged.
182+
If `N` is less than or equal to 0, the function returns `y` unchanged.
183183
184184
Parameters
185185
----------
@@ -266,6 +266,12 @@ The following parameter types are supported:
266266
- `Date`: if a parameter must be a `Date` object.
267267
- `Buffer`: if a parameter must be a Node.js `Buffer` object.
268268
- `Error`: if a parameter must be an `Error` object.
269+
- `TypeError`: if a parameter must be a `TypeError` object.
270+
- `SyntaxError`: if a parameter must be a `SyntaxError` object.
271+
- `RangeError`: if a parameter must be a `RangeError` object.
272+
- `ReferenceError`: if a parameter must be a `ReferenceError` object.
273+
- `EvalError`: if a parameter must be an `EvalError` object.
274+
- `URIError`: if a parameter must be a `URIError` object.
269275
- `TypedArray`: if a parameter must be a typed array.
270276
- `Float64Array`: if a parameter must be a `Float64Array`.
271277
- `Float32Array`: if a parameter must be a `Float32Array`.
@@ -277,6 +283,7 @@ The following parameter types are supported:
277283
- `Uint8Array`: if a parameter must be a `Uint8Array`.
278284
- `Uint8ClampedArray`: if a parameter must be a `Uint8ClampedArray`.
279285
- `ArrayBuffer`: if a parameter must be an `ArrayBuffer`.
286+
- `SharedArrayBuffer`: if a parameter must be a `SharedArrayBuffer`.
280287

281288
For parameters which may be more than one type, use a `|` separator.
282289

0 commit comments

Comments
 (0)