Dequeue Script Using Functions.php

Just remove

, 'jquery.favorite.js' => 'jQuery-javo-Favorites' 

from the $javo_register_scripts Array

OR

function wpdocs_dequeue_script() {
    wp_dequeue_script( 'jQuery-javo-Favorites' );
}
add_action( 'wp_print_scripts', 'wpdocs_dequeue_script', 100 );

error code: 523