I understand that the asynchronous callback function will be pushed into the callback queue. For eg:
setTimeout(function() {
console.log('Async');
}, 0);
In the above case, the callback function is pushed into the callback queue.
Will the synchronous callback function will also be pushed into the callback queue?
function a(b)
{
console.log('First function')
}
a(function b()
{
console.log('Sync Callback')
});