JavaScript‎ > ‎

Objects

Creating and instantiating a custom object.

<script type="text/javascript"> function userobject(parameter){ } //myobject is now an object of type userobject var myobject=new userobject("hi") alert(myobject) </script>




Comments