javascript synchronous wait

Solutions on MaxInterview for javascript synchronous wait by the best coders in the world