Explain Codes LogoExplain Codes Logo

Javascript

Get the first key name of a JavaScript object

javascript
object-keys
javascript-objects
key-order

Getminutes() 0-9 - How to display two digit numbers?

javascript
prompt-engineering
functions
web-development

Get jQuery version from inspecting the jQuery object

javascript
debugging
console
jquery-versions

Get image data URL in JavaScript?

javascript
canvas
data-url
image-loading

Get cursor position (in characters) within a text Input field

javascript
prompt-engineering
functions
callbacks

Get Base64 encode file-data from Input Form

javascript
file-reader-api
base64-encoding
async-await

Getattribute() versus Element object properties?

javascript
prompt-engineering
best-practices
performance

Generating random whole numbers in JavaScript in a specific range

javascript
random-number-generation
math.random
uniform-distribution

Generate a Hash from string in Javascript

javascript
hashmap
functions
callbacks

Format JavaScript date as yyyy-mm-dd

javascript
date-formatting
timezone-adjustment
locale-specific-formatting

Format date to MM/dd/yyyy format in JavaScript

javascript
date-formatting
intl-datetimeformat
es2017-methods

Fix the upstream dependency conflict installing NPM packages

javascript
npm
package-management
dependency-conflict

Finding child element of parent with JavaScript

javascript
prompt-engineering
performance
selectors

Find an element in DOM based on an attribute value

javascript
event-delegation
dom-manipulation
javascript-features

Find and remove objects in an array based on a key value in JavaScript

javascript
filter-method
splice-method
custom-removal-function

Fetch: reject promise and catch the error if status is not OK?

javascript
async-await
error-handling
promise-rejection

Fetch API Request Timeout?

javascript
fetch-api
timeout-handling
async-programming

Fatal ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory in Ionic 3

javascript
memory-management
performance-improvements
optimization

Fastest method to replace all instances of a character in a string

javascript
regex
string-manipulation
javascript-features

External resource not being loaded by AngularJs

javascript
xss-attacks
angularjs-security
resource-loading