Answers for "object oriented javascript tutorial point"

0

object oriented javascript tutorial point

<html>
   <head>
      <title>User-defined objects</title>     
      <script type = "text/javascript">
         var book = new Object();   // Create the object
         book.subject = "Perl";     // Assign properties to the object
         book.author  = "Mohtashim";
      </script>      
   </head>
   
   <body>  
      <script type = "text/javascript">
         document.write("Book name is : " + book.subject + "<br>");
         document.write("Book author is : " + book.author + "<br>");
      </script>   
   </body>
</html>
Posted by: Guest on January-11-2021

Code answers related to "object oriented javascript tutorial point"

Code answers related to "Javascript"

Browse Popular Code Answers by Language