text: ﻿//----------------------------------------------------------------
  // product class
  function product( name, category, subcategory, Price, DiscPrice, quantity,measure) {
      this.name = name;
      this.category = category;
      this.subcategory = subcategory;
      this.Price = Price;
      this.quantity = quantity;
      this.DiscPrice = DiscPrice;
      this.measure =measure;
  }
  