Explain Codes LogoExplain Codes Logo

Javascript

Download data URL file

javascript
blob-conversion
fetch-api
cross-browser-support

Does JavaScript have a method like "range()" to generate a range within the supplied bounds?

javascript
promises
callbacks
functional-programming

Does JavaScript guarantee object property order?

javascript
javascript-objects
property-order
es2015

Does Internet Explorer support pushState and replaceState?

javascript
browser-compatibility
polyfills
ajax-navigation

Difference in Months between Two Dates in JavaScript

javascript
date-handling
javascript-functions
date-difference

Difference between throttling and debouncing a function

javascript
event-handling
performance-optimization
best-practices

Detect when a browser receives a file download

javascript
prompt-engineering
best-practices
performance

Detecting when user scrolls to bottom of div with jQuery

javascript
scroll-detection
jquery
performance-optimization

Detecting iOS / Android Operating systems

javascript
user-agent
os-detection
mobile-detection

Detect click outside element

javascript
event-listeners
vue-directives
reactive-programming

Detect changes in the DOM

javascript
mutation-observer
dom-changes
performance-optimization

Definitive way to trigger keypress events with jQuery

javascript
event-triggering
jquery
cross-browser-compatibility

Declaring static constants in ES6 classes?

javascript
class-properties
object-freeze
constants

Cross-domain iframe resize

javascript
iframe-resize
postmessage
browser-compatibility

Creating SVG elements dynamically with JavaScript inside HTML

javascript
svg
event-listeners
accessibility

Create an empty object in JavaScript with {} or new Object()?

javascript
object-literals
object-constructors
javascript-best-practices

Create and save a file with JavaScript

javascript
blob
mime-types
file-download

Create a link that opens the appropriate map app on any device, with directions to destination

javascript
prompt-engineering
geolocation-api
device-detection

Create a custom callback in JavaScript

javascript
callbacks
async-await
promises

Correct modification of state arrays in React.js

javascript
react-state-management
immutability
updater-functions