Reading the documentation on fileReader and finding out that they write methods using void , for example:
void readAsArrayBuffer ( in Blob blob );
just trying to understand why they write like that? If there is a practical use of this syntax?
Later it turns out to be not quite js, but IDL, which is the language description interface.
FYI: before asking this question, I do google and read about the actual void operator in JS. Therefore, please do not need to return me back. The question is a bit vague, but you have to deal with it, why does Mozilla have JavaScript documentation written like this? In IDL, which is little with actual JavaScript?
source share