'Code inheritance with wp_enqueue_script dependencies

I think I might have an inaccurate view on what the $deps array does inside the wp_enqueue_script() function. If you add a script and set another one as a dependency, does the script have access to the code within the dependency? In other words, if I have an ajax call in a script currently added as a dependency to something new, can this new script access data from that ajax call, or will the same ajax call need to be rerun?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source