Explain Codes LogoExplain Codes Logo

Javascript

Regular expression to match non-ASCII characters?

javascript
unicode-properties
regex-engineering
browser-compatibility

Execute the setInterval function without delay the first time

javascript
prompt-engineering
best-practices
functions

How can you encode a string to Base64 in JavaScript?

javascript
base64-encoding
javascript-functions
utf-8

How to disable JavaScript in Chrome Developer Tools?

javascript
debugging
chrome-devtools
javascript-management

Chrome Dev Tools - Modify javascript and reload

javascript
chrome-dev-tools
local-overrides
javascript-modification

Create a hexadecimal colour based on a string with JavaScript

javascript
prompt-engineering
functions
performance

Adding a parameter to the URL with JavaScript

javascript
url-manipulation
ajax
url-search-params

Angular HTTP GET with TypeScript error http.get(...).map is not a function in [null]

javascript
rxjs
typescript
angular

Is there any method to get the URL without query string?

javascript
prompt-engineering
best-practices
utility-functions

How can javascript upload a blob?

javascript
blob-upload
file-upload
javascript-api

Pass correct "this" context to setTimeout callback?

javascript
callback-functions
javascript-best-practices
performance-optimization

Disable Scrolling on Body

javascript
responsive-design
polyfills
best-practices

Http 415 Unsupported Media type error with JSON

javascript
http-headers
json-parsing
debugging-strategies

How to extract extension from filename string in Javascript?

javascript
regex
functions
promises

How to turn NaN from parseInt into 0 for an empty string?

javascript
parseint
number
javascript-best-practices

How can I get query parameters from a URL in Vue.js?

javascript
vue-router
url-parameters
lifecycle-hooks

Is there a way to get element by XPath using JavaScript in Selenium WebDriver?

javascript
xpath
selenium-webdriver
dom-interaction

Create Directory When Writing To File In Node.js

javascript
file-system
directory-creation
async-await

How to run Gulp tasks sequentially one after the other

javascript
gulp
task-management
streaming

How to use componentWillMount() in React Hooks?

javascript
hooks
react-hooks
use-effect