|
|
|
|
|
by magicalhippo
1704 days ago
|
|
This is actual JavaScript code, from one of my projects: function processAudioData(data, callback) {
// dump audio data to WAV file
}
It's implementing a callback from a library.Even reading the source code of the library I had problems figuring this one out. Had it been say C# code I'm pretty certain I would have had it done in seconds. How do you solve this in seconds? I'm genuinely curious as this is something I often struggle with when having to use say Python or JavaScript. |
|