Sagot :
Answer:
JavaScript compared with C
C is compiled in advance. JavaScript is interpreted and sometimes compiled at runtime with a just-in-time (JIT) compiler.
C is statically typed. JavaScript is dynamically typed.
C requires programmers to allocate and reclaim blocks of memory. JavaScript handles this automatically.
C code must be recompiled when moved to a different processor. JavaScript doesn’t need to be.
C is designed to work directly with the computer’s memory through pointers. JavaScript hides this power.
C is commonly used for embedded computers and applications that require high performance such as operating systems. JavaScript was first embedded only in web pages, but it is finding a new role in server applications developed through Node.js.
C offers explicit control of threads, while JavaScript encourages users to juggle multiple jobs by splitting tasks into asynchronous functions that are called when data is ready.