Skip to content

Coding 4 Developers

Running Code Website

  • Home
  • Angular2,4,5,6,7,8
  • Node.js
  • LARAVEL
  • PHP
  • XMPP
  • JAVASCRIPT
  • Contact Us
  • Online Test

Tag: When to use array

Array v/s Objects in Javascript

  • In javascript arrays use numbered indexes. They don't have named indexes because javascript does not support associative arrays.
  • In javascript object use name indexes.
  • You should use objects when you want the element names to be strings (text).
  • You should use arrays when you want the element names to be numbers.
  •  ...  Read More

Share This:


May 10, 2016 JAVASCRIPT difference between array and object in javascript, When to use array, When to use objects

Categories

  • Ajax (4)
  • Angular2,4,5,6,7,8 (16)
  • ANGULARJS (4)
  • Facebook API (1)
  • FFMPEG (1)
  • Google Maps API (18)
  • JAVASCRIPT (43)
  • JQUERY (29)
  • LARAVEL (25)
  • Mongo DB (10)
  • MySql (9)
  • MySQL Interview Question & Answers (3)
  • Node.js (18)
  • PHP (45)
  • Python (1)
  • React.js (1)
  • Redis (1)
  • Stripe (2)
  • XMPP (14)
  • ZEND FRAMEWORK (8)

Subscribe to Coding 4 Developers

Follow us on Twitter

Recent Posts

  • MongoDB insertMany() document size | How to check maxWriteBatchSize in MongoDB
  • JWT - Why we don't need to store tokens in database?
  • How to use Typescript with Node.js | Building a Node.js App with TypeScript
  • Custom Directives in Angular 8 | Angular Directive Tutorial With Example
  • Difference between find() and filter() in JavaScript | ES6 some() and every() functions example

Information

  • About Coding 4 Developers
  • Contact Us
  • Privacy Policy

Most Visited Categories

  • Angular2,4,5,6,7,8
  • PHP
  • Node.js
  • LARAVEL
  • XMPP

Recent Posts

  • MongoDB insertMany() document size | How to check maxWriteBatchSize in MongoDB
  • JWT - Why we don't need to store tokens in database?
  • How to use Typescript with Node.js | Building a Node.js App with TypeScript

Subscribe

Proudly developed by Saurabh