DEV Community


Discussion on: Dealing with ".json() is not a function" Error

simonlegg profile image

Awesome! I‘m glad it helped.

Yeah, I remember when I was starting out, Arrays and Objects (or Hashes as they’re known in Ruby which is what I started with!), were so complicated to me, but you’ll get there!

You’ll probably eventually have the day where you’ll go “Ohhhh! This is exactly what I need an Object for!!”

Essentially they’re both kind of lists of things, an Array is kind of “just a list” and an Object is a list of things but you give the things names instead. That’s how I thought about it at least.

Anyways, good luck on the journey!!!

Thread Thread
mohammedasker profile image
Mohammed Asker Author

Yup, I'll eventually reach the "aha" moment. And when I do, then I'll completely build my foundations in JavaScript.