Javascript objects vs ruby objects

Owen Abbott
Nov 29, 2020

--

In javascript, an object is a key-value pair.

In Ruby, the concept of key-value pairs is called a Hash.

A ruby object refers towhat we experts best describe as a customized “Thingy.”

In javascript, said Thingy is called a “Class.”

This concludes the technical lesson for today.

--

--

No responses yet