Fasset Interview Question

How does node js handle multitasking when its single threaded