Cognizant Interview Question

types of error in React and JavaScript explain