skip to Main Content

External script.js doesn't run in html

I have an https server. It works except for the external script.js. But if the script is internal, it works. My server.js file: const https = require("https"); const fs = require("fs"); const options = { key: fs.readFileSync('server.key'), cert: fs.readFileSync('server.cert'), };…

VIEW QUESTION

Javascript – Array value changing

I have 2 arrays - activeDealers and normalDealers. let normalDealers = [ { nickname: 'one', inactive: false, dealer: true }, { nickname: 'two', inactive: false, dealer: false }, { nickname: 'three', inactive: false, dealer: false } ] activeDealers = [...normalDealers]…

VIEW QUESTION
Back To Top
Search