Sitemap

Object Oriented Programming in Javascript

2 min readDec 30, 2022

--

Press enter or click to view image in full size
Photo by Ben Griffiths on Unsplash

JavaScript is an object-oriented, lightweight scripting computer programming language for server side and client side (makes web page interactive). There are core features of JavaScript beyond being just a object-oriented scripting language.

Get Prince’s stories in your inbox

Join Medium for free to get updates from this writer.

Core Features of JavaScript (attributes)

  • Use of If and Else Statement

JavaScript uses If and Else Statement to perform logical operations like do this if this happens. An alternative for the If and Else Statement is the Switch statement.

  • Possesses the ability to perform in-build function

JavaScript has many in-build functions like parseInt() function, used to analyze strings.

  • Case Sensitive

keywords, variables, function names, and any other identifiers are always typed with a consistent capitalization of letters.

  • Light Weight and Delicate

JavaScript Features Light Weight and delicate and codes written in JavaScript don’t include variables and uses only objects to perform the operations

  • Looping

JavaScript uses statement looping which in this operation, the same set of code run in repeated manner for a specific or unspecific set of time with respect to a condition.

  • Object-Centered Script Language

Object Centered Language features built in the object as JavaScript has a window object.

  • Handling Events

Java Script has the ability to control operations updated on servers. This is basically controlling the response on the website when the user tries to perform any operation the server handled by the client like clicking on links and options, interaction response over the website, etc

  • Validating User’s Input

JavaScript has the ability of Validating the User’s Input, commonly known as form validation, it allows users to interact with client through filling forms through web pages.

  • Client Edge Technology

The client edge technology in Java Script allows the client to have full control over the content which is being updated in servers.

  • Interpreter Centered

Java Script is built with Interpreter Centered which allows the user to get the output without the use of Compiler.

--

--