What is the difference between these two statements?

function a() {
return 1
}

console.log(a, type of a)
console.log(a(), a())

what is the difference between these two lines??

You should change it to:
function a() {
return 1
}

console.log(a, typeof(a))
console.log(a(), a())
It will return:
[Function: a] function
1 1
Because in the first console log we are only showing a function so it is showing its type.
Whereas in second console we are calling that function so it will show values 1 1