Explain Codes LogoExplain Codes Logo

Javascript

Jasmine JavaScript Testing - toBe vs toEqual

javascript
jasmine
matchers
testing

Make a link open a new window (not tab)

javascript
window-open
pop-up-blockers
browser-behaviors

Endswith in JavaScript

javascript
endswith
performance
regex

Javascript Form Submit - Confirm or Cancel Submission Dialog Box

javascript
form-validation
user-experience
dialog-box

What is the "right" JSON date format?

javascript
json
iso-8601
date-handling

Most efficient way to create a zero filled JavaScript array?

javascript
array-initialization
performance
typed-arrays

Local Storage vs Cookies

javascript
local-storage
cookies
web-apps

I am getting an "Invalid Host header" message when connecting to webpack-dev-server remotely

javascript
webpack
dev-server
remote-access

Generate random string/characters in JavaScript

javascript
random-string
crypto
best-practices

Switch Statement for Multiple Cases in JavaScript

javascript
switch-statement
higher-order-functions
best-practices

Scrollintoview Scrolls just too far

javascript
scrolling
css-properties
smooth-scroll

Copy array by value

javascript
array-cloning
shallow-copy
deep-copy

How to remove an item from an array in AngularJS scope?

javascript
array-manipulation
angularjs
callback

Jquery get the rendered height of an element?

javascript
height
jquery
css-transforms

Javascript: How can I generate formatted easy-to-read JSON straight from an object?

javascript
json-stringify
replacer-function
web-development

How to fallback to local stylesheet (not script) if CDN fails

javascript
fallback
stylesheets
error-handling

How to get the difference between two arrays in JavaScript?

javascript
array-difference
filter
lodash

Loop through an array in JavaScript

javascript
array-iteration
asynchronous
best-practices

Connecting to TCP Socket from browser using javascript

javascript
websockets
tcp-sockets
chrome-api

Typeerror: p.easing[this.easing] is not a function

javascript
jquery
easing
debugging