QQuraishinquraishcodes.hashnode.dev·Sep 18, 2023 · 1 min readHow to use the response from Axios on Client sideWhile I was trying to use Axios today to POST some data to a HubSpot API, I encountered an undefined error. Let me explain. While using Axios & receiving its response in .then() I am able to see my API response successfully when viewed in the console...00
QQuraishinquraishcodes.hashnode.dev·Feb 17, 2023 · 1 min readJavaScript.lengthDid you know, that the Array.length property in JavaScript doesn't actually give you the length of the array but gives a number that is the largest index + 1? See the code below:For an Array with 8 items, the length is 101! var array = [1, 2, 3]; ar...00