Skip to content

Commit 2ed0395

Browse files
thadguidrymattbaileyuk
authored andcommitted
Fix typos
1 parent 6f1fc88 commit 2ed0395

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/embedding-extending.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var result = await expression.evaluate({example: [{value: 4}, {value: 7}, {value
3939

4040
`input` should be a JavaScript value such as would be returned from `JSON.parse()`. If `input` could not have been parsed from a JSON string (is circular, contains functions, ...), `evaluate`'s behaviour is not defined. `result` is a new JavaScript value suitable for `JSON.stringify()`ing.
4141

42-
`bindings`, if present, contains variable names and values (including functions) to be bound:
42+
`bindings`, if present, contain variable names and values (including functions) to be bound:
4343

4444
```javascript
4545
await jsonata("$a + $b()").evaluate({}, {a: 4, b: () => 78});
@@ -168,7 +168,7 @@ Each type symbol may also have *options* applied.
168168

169169
### Writing higher-order function extensions
170170

171-
It is possible to write and extension function that takes one or more functions in its list of arguments and/or returns
171+
It is possible to write an extension function that takes one or more functions in its list of arguments and/or returns
172172
a function as its return value.
173173

174174

0 commit comments

Comments
 (0)