src/AppClass.js
// if a URL is undefined or null, default it to the root url "/"
if a URL is undefined or null, default it to the root url "/"
if a URL is undefined or null default it to the root url " / "
checkURL(inputURL) {
        let outputURL = inputURL
        if (inputURL === undefined) {
            outputURL = "/"
        }
        if (inputURL == null) {
            outputURL = "/"
        }
        return outputURL
    }
checkURL ( inputURL ) { let outputURL = inputURL if ( inputURL === undefined ) { outputURL = "/" } if ( inputURL == null ) { outputURL = "/" } return outputURL }
if a URL is undefined or null, default it to the root url "/"
if a URL is undefined or null default it to the root url " / "