Samples about calling C++ function from javascript (emscripten)

Hi guys!
Is there a sample about calling C++ function from javascript (emscripten)? The c++ function definied in sample application class from javascript. Thanks!

Urho does this already, but I’m not sure how much of a sample it is.