Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wenxi-zeng authored May 13, 2024
1 parent 885ed60 commit d004079
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ val ret: Int? = scope.await {
}
```

### JSConvertibles (Pass-by-value)
### JSConvertibles (Pass-by-reference)

`JSConvertible` can be any of the following types. This is very similar to `Pass-by-value` that an object/array passed to/receive from the engine is in a form of `JSValue`, which represents the reference to the holder of the original object/array. You'd have to write a converter to convert it back to its original form
`JSConvertible` can be any of the following types. This is very similar to `Pass-by-reference` that an object/array passed to/receive from the engine is in a form of `JSValue`, which represents the reference to the holder of the original object/array. You'd have to write a converter to convert it back to its original form

* JSArray
* JSObject
Expand Down

0 comments on commit d004079

Please sign in to comment.