I have read a few articles regarding callback function. I understand how they presented like add a + b then give callback function. But I am doing same. I first declared the function then call it again I call the callback function, why it is not working in my case?
function me(callback){
console.log("1")
}
me(function(){
console.log(2)
})
I am expecting console.log 1 then console.log 2. I am getting only console.log 1
callback().