Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
You are doing it wrong. Instead of writing this you could have written to words on google, having then millons of explanations.
-
@geronimo unfortunately I did resort to google, it didn't turn out to be much help [probably because I couldn't sort out the actual information]. The next best thing was devrant, so...
-
@irene afaik these are the primitive data types, are there any subtypes of type 'object'? that is what i asked originally
-
@soumik-dev look, I'm not trying to bash you here, this is just an advice. If you're going to have a carrer as a programmer, you must get used to use Google to solve issues. And this is a fairly simple one.
Try again. Maybe you didn't find anything because you're not clear about what you want to find. -
@geronimo I got that, truce fellow dev! And I do google and stackoverflow my problems, I've got an exam due tomorrow and devrant is, to put it in simple terms, my last straw :-)
-
@soumik-dev ok fine, here's the primitive types:
- God
- NaziPug
- Maybe
- LittleTorvalds
Be aware: don't do typeof God, you'll enter in an infinite recursive loop, which will burn your microprocessor (and send you to hell also).
Happy coding! 😀 -
@Krokoklemme types of objects JS has available. Got it right, though. The original question set by my professor was wrong to begin with in the first place.
-
@soumik-dev there are no "types of objects" as such
There's only objects, that are practically just a collection of key-value pairs and functions. You have to keep in mind that JavaScripts object-oriented aspect is NOT class-based, it's a prototype-based system
Related Rants
NEED AN URGENT HELP HERE!!!
As much as I try to stay away from the satanic language that is javascript, I have to read up on it if I need to pass this semester.
Guide me towards the different types of objects in javascript, anyone?
Here's what I know so far- js treats everything as an object, but what I don't know is that are there categories? [the "everything" referring to the primitive data types]
question
datatype
object
js