Click the "call reverseText()" button below.
The button passes a message to the Native Client module to run a method named HelloWorld::ReverseText(string) in Mono. That method reverses the string and calls post_message_icall, which is an internal call registered with Mono after initialization. That icall calls PostMessage and the string is returned to Javascript through a message event.