Javascript Function Fetching Data From Api With Request Timeout

Javascript Function Fetching Data From Api With Request Timeout