I have a javascript callback function setup like this
function myFunction(callback){
$('meta[name="viewport"]').prop('content', 'width=1440');
//other code
callback()
}
function otherFunction(){
//some async operation
}
myFunction(otherFunction)
Does this code ensure that my otherFunction does not run before the viewport is changed and other code above it is implemented?
