showing results for - "how to handle error js"
Nash
25 Jun 2019
1// just sample try catch javascript
2try {
3  // doing some methods
4}catch (e) {
5  // showing message or other proses you want
6  console.log(e.message)
7}