Explain Codes LogoExplain Codes Logo

Javascript

Javascript - I created a blob from a string, how do I get the string back out?

javascript
async-programming
blob-api
javascript-features

Javascript get window X/Y position for scroll

javascript
scrolling
event-listeners
debounce-function

Javascript - get array of dates between 2 dates

javascript
date-formatting
javascript-utility-functions
date-arithmetic

Javascript error (Uncaught SyntaxError: Unexpected end of input)

javascript
javascript-error-handling
code-linting
json-parsing

Javascript equivalent of PHP's in_array()

javascript
polyfill
array-methods
browser-support

Javascript: Difference between .forEach() and .map()

javascript
functions
best-practices
performance

Javascript Confirm Popup: Yes, No Buttons Instead of OK, Cancel

javascript
prompt-engineering
modal-dialogs
user-response-handling

Javascript checkbox onChange

javascript
event-delegation
checkbox
event-handling

Javascript Array splice vs slice

javascript
array-methods
javascript-performance
best-practices

Javascript array search and remove string?

javascript
array-manipulation
filter-method
splice-method

Is there a way to detect if a browser window is not currently active?

javascript
cross-browser
page-visibility-api
event-handling

Is there a way that I can check if a data attribute exists?

javascript
prompt-engineering
functions
callbacks

Is there a sleep function in JavaScript?

javascript
async-await
timeout
promise

Is there a best practice for generating html with javascript

javascript
client-side-rendering
web-components
security

Is the order of elements in a JSON list preserved?

javascript
json-arrays
object-order
key-order

Is Node.js native Promise.all processing in parallel or sequentially?

javascript
async-await
promise-all
concurrent-processing

Is it possible to trap CORS errors?

javascript
cors-error-trapping
cross-origin-requests
security-policies

Is it possible to simulate key press events programmatically?

javascript
event-dispatching
key-press-events
javascript-events

Is it possible to import modules from all files in a directory, using a wildcard?

javascript
import
module-management
babel-plugin-wildcard

Is it possible to get all arguments of a function as a single object inside that function?

javascript
rest-parameters
spread-operator
functions