JavaScript function - Search
About 11,800,000 results
Open links in new tab
    Kizdar net | Kizdar net | Кыздар Нет
  1. How to iterate (keys, values) in JavaScript? - Stack Overflow

    A basic doubt here. I landed here looking for how to do this in node.js, which is javascript on server side. How do I know which ES version applies in my case. Also, in case of regular javascript users, what is the proper way to support as I understand that ES version depends on the client's browser?

  2. javascript - How to play audio? - Stack Overflow

    The Web Audio API is a high-level JavaScript API for processing and synthesizing audio in web applications. The goal of this API is to include capabilities found in modern game audio engines and some of the mixing, processing, and filtering tasks that are found in modern desktop audio production applications.

  3. How can I access the value of a promise? - Stack Overflow

    pixelbits' answer is correct, and you should always use .then() to access the value of a promise in production code. However, there is a way to access the promise's value directly after it has been resolved by using the following unsupported internal Node.js binding: process.binding('util').getPromiseDetails(myPromise)[1] WARNING: process.binding was …

  4. Which equals operator (== vs ===) should be used in JavaScript ...

    Dec 11, 2008 · I'm using JSLint to go through JavaScript, and it's returning many suggestions to replace == (two equals signs) with === (three equals signs) when doing things like comparing idSele_UNVEHtype.value.

  5. javascript - Using async/await with a forEach loop - Stack Overflow

    Jun 2, 2016 · Are there any issues with using async/await in a forEach loop? I'm trying to loop through an array of files and await on the contents of each file. import fs from 'fs-promise' async function print...

  6. Wait 5 seconds before executing next line - Stack Overflow

    This function below doesn’t work like I want it to; being a JS novice I can’t figure out why. I need it to wait 5 seconds before checking whether the newState is -1. Currently, it doesn’t wait, i...

  7. How can I submit a form using JavaScript? - Stack Overflow

    Learn how to use JavaScript to submit a form programmatically on Stack Overflow.

  8. javascript - How to add days to Date? - Stack Overflow

    Feb 19, 2009 · How to add days to current Date using JavaScript? Does JavaScript have a built in function like .NET's AddDay()?

  9. Find an element in DOM based on an attribute value

    Dec 30, 2016 · There's not a very short way to do this in vanilla javascript, but there are some solutions available. You do something like this, looping through elements and checking the attribute If a library like jQuery is an option, you can do it a bit easier, like this: $("[myAttribute=value]") If the value isn't a valid CSS identifier (it has spaces or punctuation in …

  10. javascript - window.onload vs document.onload - Stack Overflow

    Feb 25, 2009 · Which is more widely supported: window.onload or document.onload?