I was wondering what the following code does in terms of the = and then the OR operation || arrangement. I've seen it around heaps but never understood what its doing exactly. I get that its probably assigning one OR the other property depending on whichever is available, but how does it determine that? does it look for which one is not "undefined"? does it only use the second one if the first is "undefined"? can you have more then one "||"? what if both aren't "undefined"? what if both are "undefined"?
the audio context code is just where i have seen it most recently.. im not concerned about how that works, rather im concerned about the arrangement of the operators and how they work.
I also understand this has probably been addressed somewhere else but i couldn't find it because i dont know what this arraignment is called, does it even have a name?
window.AudioContext = window.AudioContext||window.webkitAudioContext;