Tag JavaScript

How do you debug a program that is not working as expected ?

Can someone tell me how do you debug a program that is not working as expected  i want the exact answer of that if anyone know then please tell me 

We use cookies to enhance your experience, to provide social media features and to analyse our traffic. By continuing to browse, you agree to our Privacy Policy.