"objects"
Bootstrap 4.1.1 Snippet by lavan

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <html> <body> <p id="demo"></p> <script> function memeber(name,age,wrk,sex){ this.name=name; this.age=age; this.sex=sex; this.workship=wrk; } var lavan=new memeber('lava','24','ui','male'); var raj=new memeber('rajkumar','27','mech','male'); console.log(lavan.name); console.log(raj.name); </script> </body> </html>

Related: See More


Questions / Comments: