সম্পাদনা
<script> class Land { constructor() { this.land = "বাংলাদেশ"; } } class Arif extends Land { constructor() { super(); this.name = "আরিফ"; } } const arif = new Arif(); document.write(arif.name); document.write(arif.land); </script>
পূর্বরূপ