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 " / "
checkEmptyImage(inputURL) {
        let outputURL = inputURL
        if (inputURL === undefined) {
            outputURL = "https://legacytaylorsville.com/wp-content/uploads/2015/07/No-Image-Available1.png"
        }
        if (inputURL == null) {
            outputURL = "https://legacytaylorsville.com/wp-content/uploads/2015/07/No-Image-Available1.png"
        }
        return outputURL
    }
checkEmptyImage ( inputURL ) { let outputURL = inputURL if ( inputURL === undefined ) { outputURL = "https://legacytaylorsville.com/wp-content/uploads/2015/07/No-Image-Available1.png" } if ( inputURL == null ) { outputURL = "https://legacytaylorsville.com/wp-content/uploads/2015/07/No-Image-Available1.png" } 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 " / "