End of Line

if ( is_product() ) { console.log("product"); } else{ console.log("no product"); }