How I trigger the "System Bell" in nodejs How I trigger the "System Bell" in nodejs unix unix

How I trigger the "System Bell" in nodejs


The console.log('\u0007') didn't work for me running VSCode on windows 10.The following code did work:

import { exec } from 'child_process'exec(`rundll32 user32.dll,MessageBeep`)