const express=require('express')
const https=require('https')
var app=express()
app.get('/',function(req,res){
const url='https://sv443.net/jokeapi/v2/joke/Programming,Miscellaneous,Dark?blacklistFlags=nsfw'
https.get(url,function (response) {
console.log(response);
}); **what value will response argument take in this call back function**
res.send('server is up and running!')'
}); *how will this callback function work when it makes a http request*
app.listen(3000,function(){
console.log('Server is listening on port 3000.');
});
также, пожалуйста, объясните мне, как работает аргумент обратного вызова
`