0

Can i able to utilise the C/C++ code in JavaScript and vice versa..?[EDITED]

If yes means how can I done it in sololearn code playground?

26th Jul 2020, 6:22 AM
Yogeshwaran P
Yogeshwaran P - avatar
3 Respuestas
+ 1
C code that calls Javascript functions are generally embedded in a EM_JS() block. The body of an EM_JS() function is written in Javascript, including data conversion code. To pass a string parameter to Javascript, it must be converted using the function UTF8String()
26th Jul 2020, 6:25 AM
Aayush $aini
Aayush $aini - avatar
0
Can you give example for that Aayush Saini
26th Jul 2020, 6:27 AM
Yogeshwaran P
Yogeshwaran P - avatar