Skip to content

Commit 29c9e5c

Browse files
committed
(docs) change and expact Arity section in getting started guide
1 parent 1513c20 commit 29c9e5c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/docs/intro.mdx

+4-3
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,11 @@ If you type `hello Terminal` it will print "hello, this is Terminal"
134134

135135
## Terminal Options
136136

137-
### Arity
137+
### Variable number of arguments
138138

139-
If you want the argument to be optional you need to `checkArity: false` option (options is
140-
an object that is a second argumnet to the termianal).
139+
If you want the argument to be optional you need to `checkArity: false` option (options is an object
140+
that is a second argumnet to the termianal). Variable number of arguments is so called
141+
[Arity](https://en.wikipedia.org/wiki/Arity).
141142

142143
```javascript
143144
$('body').terminal({

0 commit comments

Comments
 (0)