Failing to call more than one rust functions in my JavaScript. #9372
Closed
MuhammadAlix
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi it might be a silly question as I am a beginner to programming.
But I am failing to call more than one rust functions in JavaScript. The second function actually runs if I remove the first one from 'main.rs' other wise it only returns the output of string of first function and returns the following error in console for the second one.
Uncaught (in promise) command n_count not found
Here is the code in my 'main.rs'
and here is the part from my 'script.js' where I am calling these functions
Here is the full project if you want to have a look
Beta Was this translation helpful? Give feedback.
All reactions