Title: JavaScript tips that stick - Popular Tips
Open Graph Title: JavaScript tips that stick - Popular Tips
X Title: JavaScript tips that stick - Popular Tips
Description: Language and browser tricks for apps that feel snappy.
Open Graph Description: Language and browser tricks for apps that feel snappy.
X Description: Language and browser tricks for apps that feel snappy.
Keywords:
Mail addresses
support@coderwall.com
Opengraph URL: https://www.coderwall.com/t/JavaScript/popular
X: @coderwall
Domain: coderwall.com
IPv4 address: 66.71.205.0
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Afshin Mehrabani"
},
"dateModified": "2026-09-07 16:28:43 UTC",
"datePublished": "2026-09-07 16:28:43 UTC",
"headline": "Don't use Array.forEach, use for() instead",
"url": "/p/kvzbpa/don-t-use-array-foreach-use-for-instead",
"commentCount": 19,
"keywords": "performance, loop, javascript",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Kyle Ross"
},
"dateModified": "2025-07-27 17:08:30 UTC",
"datePublished": "2025-07-27 17:08:30 UTC",
"headline": "How to check if JavaScript Object is empty",
"url": "/p/_g3x9q/how-to-check-if-javascript-object-is-empty",
"commentCount": 19,
"keywords": "objects, prototype, javascript, isempty",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Steven Iseki"
},
"dateModified": "2023-06-26 13:19:33 UTC",
"datePublished": "2023-06-26 13:19:33 UTC",
"headline": "JavaScript iterate through object keys and values",
"url": "/p/_kakfa/javascript-iterate-through-object-keys-and-values",
"commentCount": 9,
"keywords": "jquery, javascript",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Guangyi-flyaway"
},
"dateModified": "2026-03-03 12:54:49 UTC",
"datePublished": "2026-03-03 12:54:49 UTC",
"headline": "How to create an image slider with javascript",
"url": "/p/vsdrug/how-to-create-an-image-slider-with-javascript",
"commentCount": 15,
"keywords": "practice, javascript, image slider",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Lakshman"
},
"dateModified": "2026-06-04 01:41:57 UTC",
"datePublished": "2026-06-04 01:41:57 UTC",
"headline": "jQuery .find and .closest are your best friends",
"url": "/p/wxjljq/jquery-find-and-closest-are-your-best-friends",
"commentCount": 2,
"keywords": "jquery, events, simple, javascript",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Oliver Tupman"
},
"dateModified": "2023-06-26 13:19:31 UTC",
"datePublished": "2023-06-26 13:19:31 UTC",
"headline": "AngularJS: use $timeout, not setTimeout",
"url": "/p/udpmtq/angularjs-use-timeout-not-settimeout",
"commentCount": 12,
"keywords": "javascript, scopes, angularjs, timeouts",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Jose Jesus Perez Aguinaga"
},
"dateModified": "2024-09-27 17:42:38 UTC",
"datePublished": "2024-09-27 17:42:38 UTC",
"headline": "Converting Strings to Number in Javascript: Pitfalls",
"url": "/p/5tlhmw/converting-strings-to-number-in-javascript-pitfalls",
"commentCount": 5,
"keywords": "javascript",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Andreas Pizsa"
},
"dateModified": "2023-06-26 13:19:30 UTC",
"datePublished": "2023-06-26 13:19:30 UTC",
"headline": "How to get the correct Unix Timestamp from any Date in JavaScript",
"url": "/p/rbfl6g/how-to-get-the-correct-unix-timestamp-from-any-date-in-javascript",
"commentCount": 2,
"keywords": "timestamp, js, javascript, unix time",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Abishek R Srikaanth"
},
"dateModified": "2023-06-26 13:19:36 UTC",
"datePublished": "2023-06-26 13:19:36 UTC",
"headline": "Dynamically creating properties on objects using javascript",
"url": "/p/m-rmpq/dynamically-creating-properties-on-objects-using-javascript",
"commentCount": 0,
"keywords": "js, javascript, oops-js",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Juan Fernández Sagasti"
},
"dateModified": "2026-01-01 08:18:41 UTC",
"datePublished": "2026-01-01 08:18:41 UTC",
"headline": "Storing and retrieving objects with localStorage [HTML5]",
"url": "/p/ewxn9g/storing-and-retrieving-objects-with-localstorage-html5",
"commentCount": 0,
"keywords": "json, localstorage, html5, javascript",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Sergey Avseyev"
},
"dateModified": "2023-03-21 06:32:47 UTC",
"datePublished": "2023-03-21 06:32:47 UTC",
"headline": "Simple String.format() in javascript",
"url": "/p/flonoa/simple-string-format-in-javascript",
"commentCount": 4,
"keywords": "javascript",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Esteban"
},
"dateModified": "2023-08-09 06:30:52 UTC",
"datePublished": "2023-08-09 06:30:52 UTC",
"headline": "Different ways of creating an Object in javascript",
"url": "/p/p5cf5w/different-ways-of-creating-an-object-in-javascript",
"commentCount": 3,
"keywords": "javascript, programming, learning",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Richard McDaniel"
},
"dateModified": "2023-06-26 13:19:34 UTC",
"datePublished": "2023-06-26 13:19:34 UTC",
"headline": "Goodbye PHP Sessions, Hello JSON Web Tokens",
"url": "/p/8wrxfw/goodbye-php-sessions-hello-json-web-tokens",
"commentCount": 21,
"keywords": "php, security, rest, json",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Dmitry Belaventsev"
},
"dateModified": "2023-03-21 06:32:46 UTC",
"datePublished": "2023-03-21 06:32:46 UTC",
"headline": "jQuery: When to use $(document).ready() and when $(window).load()",
"url": "/p/_jothq/jquery-when-to-use-document-ready-and-when-window-load",
"commentCount": 4,
"keywords": "javascript, jquery",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "tomascorralcasas"
},
"dateModified": "2023-07-24 08:48:53 UTC",
"datePublished": "2023-07-24 08:48:53 UTC",
"headline": "JSONC compress your JSON data up to 80%",
"url": "/p/mekopw/jsonc-compress-your-json-data-up-to-80",
"commentCount": 4,
"keywords": "json, gzip, compression, javascript",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Jason Dobry"
},
"dateModified": "2023-08-22 06:30:29 UTC",
"datePublished": "2023-08-22 06:30:29 UTC",
"headline": "Building large apps with AngularJS",
"url": "/p/y0zkiw/building-large-apps-with-angularjs",
"commentCount": 25,
"keywords": "modules, javascript, angularjs, $scope",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Two Fucking Developers"
},
"dateModified": "2023-03-21 06:32:47 UTC",
"datePublished": "2023-03-21 06:32:47 UTC",
"headline": "One line function to detect mobile devices with JavaScript",
"url": "/p/i817wa/one-line-function-to-detect-mobile-devices-with-javascript",
"commentCount": 17,
"keywords": "mobile, javascript, detection",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Cristian Andrei"
},
"dateModified": "2023-03-21 06:32:46 UTC",
"datePublished": "2023-03-21 06:32:46 UTC",
"headline": "Be careful with setTimeout in loops",
"url": "/p/_ppzrw/be-careful-with-settimeout-in-loops",
"commentCount": 10,
"keywords": "js, arguments, javascript, settimeout",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Jose Jesus Perez Aguinaga"
},
"dateModified": "2023-03-21 06:32:46 UTC",
"datePublished": "2023-03-21 06:32:46 UTC",
"headline": "Why never use new Array in Javascript",
"url": "/p/h4xm0w/why-never-use-new-array-in-javascript",
"commentCount": 18,
"keywords": "javascript",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Elad Shechter"
},
"dateModified": "2026-01-01 08:19:05 UTC",
"datePublished": "2026-01-01 08:19:05 UTC",
"headline": "How to REALLY center an HTML element (via CSS position absolute/fixed)",
"url": "/p/quutdq/how-to-really-center-an-html-element-via-css-position-absolute-fixed",
"commentCount": 30,
"keywords": "css, web design, javascript",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Guangyi-flyaway"
},
"dateModified": "2023-10-20 04:13:09 UTC",
"datePublished": "2023-10-20 04:13:09 UTC",
"headline": "Image slider with prev/next button and pager in JavaScript",
"url": "/p/q8tofq/image-slider-with-prev-next-button-and-pager-in-javascript",
"commentCount": 3,
"keywords": "practice, javascript, image slider",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Jim Greenleaf"
},
"dateModified": "2023-03-21 06:32:47 UTC",
"datePublished": "2023-03-21 06:32:47 UTC",
"headline": "Promise Chains with Node.js",
"url": "/p/ijy61g/promise-chains-with-node-js",
"commentCount": 24,
"keywords": "nodejs, q, promises, asynchronous code",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "David Morrow"
},
"dateModified": "2023-03-21 06:32:46 UTC",
"datePublished": "2023-03-21 06:32:46 UTC",
"headline": "creating DOM elements with jQuery in a more elegant way",
"url": "/p/evmqoa/creating-dom-elements-with-jquery-in-a-more-elegant-way",
"commentCount": 13,
"keywords": "javascript, jquery",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Alex Vanston"
},
"dateModified": "2023-03-21 06:32:47 UTC",
"datePublished": "2023-03-21 06:32:47 UTC",
"headline": "'Safe' $apply in Angular.JS",
"url": "/p/ngisma/safe-apply-in-angular-js",
"commentCount": 16,
"keywords": "dom, events, javascript, angular.js",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Vladimir Prudnikov"
},
"dateModified": "2023-06-27 10:15:02 UTC",
"datePublished": "2023-06-27 10:15:02 UTC",
"headline": "File uploads with jQuery HTML5 and FormData",
"url": "/p/p-n7eq/file-uploads-with-jquery-html5-and-formdata",
"commentCount": 8,
"keywords": "jquery, html5, ajax, javascript",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Lex S"
},
"dateModified": "2026-10-23 05:19:37 UTC",
"datePublished": "2026-10-23 05:19:37 UTC",
"headline": "Use fetch instead of XmlHttpRequest in Javascript",
"url": "/p/qs2dfw/use-fetch-instead-of-xmlhttprequest-in-javascript",
"commentCount": 2,
"keywords": "browser, devops, javascript",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "matt j. sorenson"
},
"dateModified": "2023-06-08 22:57:02 UTC",
"datePublished": "2023-06-08 22:57:02 UTC",
"headline": "Console Stack-tracing Invoked Javascript Function Names",
"url": "/p/vovjdg/console-logging-invoked-javascript-function-names",
"commentCount": 0,
"keywords": "javascript, debugging",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "rahuldev"
},
"dateModified": "2021-10-15 11:39:42 UTC",
"datePublished": "2021-10-15 11:39:42 UTC",
"headline": "7 Most Common Git Mistakes",
"url": "/p/gkbexw/7-most-common-git-mistakes",
"commentCount": 0,
"keywords": "php, programming, wordpress, laravel",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "rahuldev"
},
"dateModified": "2021-10-15 11:39:51 UTC",
"datePublished": "2021-10-15 11:39:51 UTC",
"headline": "7 Rules for Every Code Review",
"url": "/p/v-gzxg/7-rules-for-every-code-review",
"commentCount": 1,
"keywords": "php, programming, wordpress, laravel",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "rahuldev"
},
"dateModified": "2021-10-15 11:40:11 UTC",
"datePublished": "2021-10-15 11:40:11 UTC",
"headline": "7 Essential Tips For JavaScript",
"url": "/p/wevbua/7-essential-tips-for-javascript",
"commentCount": 0,
"keywords": "php, programming, wordpress, laravel",
"publisher": {
"@type": "Organization",
"name": "Coderwall",
"logo": {
"@type": "ImageObject",
"url": "/logo.png"
}
},
"image": "/logo.png"
}
| og:site_name | Coderwall |
| og:type | website |
| twitter:url | https://www.coderwall.com/t/JavaScript/popular |
| twitter:site_name | Coderwall |
| twitter:card | summary |
| csrf-param | authenticity_token |
| csrf-token | yl3nFMgVbq6GDStOfWnRVPgoiBlkT6dG87TKAXJ8X2KGT4DAr7SD2qNFzLsXfb2arag-uwdW6EvEUM-NK_-DuQ |
Links:
| Server | envoy |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width,initial-scale=1