I am struggling to verify the presence of Handlebar JS on the application's HTML page. No matter what I do, it keeps throwing an error saying "Uncaught Reference Error - Handlebars is not defined". Can anyone provide guidance on how to fulfill this task successfully? Thank you in advance.
if(Handlebars){
// execute code using templates
}else{
// handle the absence of Handlebar JS
}