Chapter 2 Connecting C and JavaScript This chapter focuses on the interoperability between C and JavaScript. The main content consists of three parts: Calling compiled C functions from JavaScript. Calling JavaScript functions from C/C++. Data exchange between JavaScript and C/C++.