Update Docs
ScriptCraft/pipeline/head This commit looks good Details

This commit is contained in:
TheBrokenRail 2020-06-02 16:03:52 -04:00
parent 0f63f63d86
commit 0c4b8a91dc
1 changed files with 2 additions and 5 deletions

View File

@ -57,12 +57,9 @@ public class ExampleBridges {
## Supported Types
| JS Type | Java Type |
| --- | --- |
| Number | ```Double``` (object-form) |
| Number | ```Number``` (object-form) |
| Boolean | ```Boolean``` (object-form) |
| String | ```String``` |
| Array | ```Object[]``` |
| Object | ```null``` |
| ```JavaObject``` | ```Object``` |
### ```JavaObject```
A ```JavaObject``` is a normal JS object with an internal reference to a Java object, the Java object reference cannot be accessed directly from JS, but when it is passed back to Java using a bridge, it will become the referenced Java object.
| ```JavaObject``` | ```Object``` |