I am executing the two javascript function
1) function ===> calling web api and reading the values
------if first function return the value then no need to call the second function
2) second function===> dynamically creating the table
but every time it's calling the second function because first function is working as asynchronous and giving me output after second function execution .