while coding some js code i found this error