Course Content

  • 2.3 non-primitive

Course Content

FAQs

Number, text, boolean, NULL, Infinity, and symbol are primitive data types. The object is non-primitive data types. Arrays and functions in JavaScript are also objects.

Because only classes can have methods, string is non-primitive. Primitive people cannot. And when processing a String, numerous functions are needed, such as substring, indexof, equals, and touppercase.

Non-primitive data can be divided into four categories: range: This is a data type for storing data in a sequential order. Because the size of the array is also determined by the programmer, it can store any form of data.

A primitive data structure is a data structure that stores only one type of data. Non-primitive data structures are data structures that can hold data of multiple types. Integer, character, and float are examples of primitive data structures.

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
Apple App Store
598K+ Downloads
App Download Section Circle 1
4.57 Avg. Ratings
App Download Section Circle 2
15K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere