0

What is the difference between those variables in jQuery ?

 items = [];
 map = {};
empiric
  • 7,825
  • 7
  • 37
  • 48
MOHAMED
  • 13
  • 5
  • 3
    `[]` is an [array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array), `{}` is an [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object) – empiric Dec 22 '16 at 10:26
  • many thanks for your support – MOHAMED Dec 22 '16 at 11:57

0 Answers0