Skip to content
This repository has been archived by the owner on Dec 1, 2018. It is now read-only.

add more basic examples #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

garyemerson
Copy link

This adds a few things that were non-obvious to me when starting out:

  • Using simple arguments passed in from javascript (e.g. JsNumber)
  • Using array arguments passed in from javascript
  • Returning a JsArray from rust

I started writing the guide for these but I realize that was gonna take longer since I'm not the fastest writer. Definitely willing to write it but I could use some direction. For example, this perhaps belongs in "Handles and Memory" section (?) but also maybe not.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant