Exception handling javascript
error:- syntax logical run time <! DOCTYPE html > < html lang = "en" > < head > < meta charset = "UTF-8" > < meta http-equiv = "X-UA-Compatible" content = "IE=edge" > < meta name = "viewport" content = "width=device-width, initial-scale=1.0" > < title > Document </ title > < script > function f1 (){ var a = document . getElementById ( 'nm' ). value ; alert ( a ); try { if ( a == "" ) throw "please fill this box" ; else if ( isNaN ( a )) throw "p...