I want to get the value from getApi() but I get undefined
getApi()
undefined
My console.log print like:
checkAPIDomain 1 checkAPIDomain 2 checkA