SlideShare ist ein Scribd-Unternehmen logo
1 von 1
Downloaden Sie, um offline zu lesen
Create a file called grocery.ts. It should have a definition of a class with the obvious name Grocery
. The class should have some basic attributes such as name, quantity, etc. Feel free to add any
other attributes you think will be necessary.
Add few grocery items to an array of groceries, such as milk, bread, and eggs, along with some
quantities (i.e. 3, 6, 11). Display these grocery items as HTML output.
The output of this assignment will be grocery.ts and groceries.html displaying the output.

Weitere ähnliche Inhalte

Mehr von yuvarajm76

Cul de las siguientes afirmaciones sobre la hepatitis B V.pdf
Cul de las siguientes afirmaciones sobre la hepatitis B V.pdfCul de las siguientes afirmaciones sobre la hepatitis B V.pdf
Cul de las siguientes afirmaciones sobre la hepatitis B V.pdfyuvarajm76
 
Cul de las siguientes afirmaciones sobre la especiacin al.pdf
Cul de las siguientes afirmaciones sobre la especiacin al.pdfCul de las siguientes afirmaciones sobre la especiacin al.pdf
Cul de las siguientes afirmaciones sobre la especiacin al.pdfyuvarajm76
 
Cul de las siguientes afirmaciones sobre la gemacin de ve.pdf
Cul de las siguientes afirmaciones sobre la gemacin de ve.pdfCul de las siguientes afirmaciones sobre la gemacin de ve.pdf
Cul de las siguientes afirmaciones sobre la gemacin de ve.pdfyuvarajm76
 
Cul de las siguientes afirmaciones representa la fotosnte.pdf
Cul de las siguientes afirmaciones representa la fotosnte.pdfCul de las siguientes afirmaciones representa la fotosnte.pdf
Cul de las siguientes afirmaciones representa la fotosnte.pdfyuvarajm76
 
Cul de las siguientes afirmaciones sobre el efecto del pH .pdf
Cul de las siguientes afirmaciones sobre el efecto del pH .pdfCul de las siguientes afirmaciones sobre el efecto del pH .pdf
Cul de las siguientes afirmaciones sobre el efecto del pH .pdfyuvarajm76
 
Cuando no conocemos las desviaciones estndar de la poblaci.pdf
Cuando no conocemos las desviaciones estndar de la poblaci.pdfCuando no conocemos las desviaciones estndar de la poblaci.pdf
Cuando no conocemos las desviaciones estndar de la poblaci.pdfyuvarajm76
 
Cul de estos cidos grasos de 18 carbonos tendra el menor.pdf
Cul de estos cidos grasos de 18 carbonos tendra el menor.pdfCul de estos cidos grasos de 18 carbonos tendra el menor.pdf
Cul de estos cidos grasos de 18 carbonos tendra el menor.pdfyuvarajm76
 
Cul de estos componentes proporciona redundancia de datos .pdf
Cul de estos componentes proporciona redundancia de datos .pdfCul de estos componentes proporciona redundancia de datos .pdf
Cul de estos componentes proporciona redundancia de datos .pdfyuvarajm76
 
Cuestionario de comunicaciones comerciales 15 La declara.pdf
Cuestionario de comunicaciones comerciales   15   La declara.pdfCuestionario de comunicaciones comerciales   15   La declara.pdf
Cuestionario de comunicaciones comerciales 15 La declara.pdfyuvarajm76
 
Cuanto ms relacionadas estn dos especies ms similares so.pdf
Cuanto ms relacionadas estn dos especies ms similares so.pdfCuanto ms relacionadas estn dos especies ms similares so.pdf
Cuanto ms relacionadas estn dos especies ms similares so.pdfyuvarajm76
 
Critical values for quick reference during this activity In.pdf
Critical values for quick reference during this activity In.pdfCritical values for quick reference during this activity In.pdf
Critical values for quick reference during this activity In.pdfyuvarajm76
 
Cul de estas texturas ayuda al gelogo a determinar si una.pdf
Cul de estas texturas ayuda al gelogo a determinar si una.pdfCul de estas texturas ayuda al gelogo a determinar si una.pdf
Cul de estas texturas ayuda al gelogo a determinar si una.pdfyuvarajm76
 
Cuestionario de prctica de OPS 2 Los beneficios de la agr.pdf
Cuestionario de prctica de OPS  2 Los beneficios de la agr.pdfCuestionario de prctica de OPS  2 Los beneficios de la agr.pdf
Cuestionario de prctica de OPS 2 Los beneficios de la agr.pdfyuvarajm76
 
Cuando un gran nmero de especies a veces taxones principal.pdf
Cuando un gran nmero de especies a veces taxones principal.pdfCuando un gran nmero de especies a veces taxones principal.pdf
Cuando un gran nmero de especies a veces taxones principal.pdfyuvarajm76
 
Cub Foods grocery stores have more than one location in Mank.pdf
Cub Foods grocery stores have more than one location in Mank.pdfCub Foods grocery stores have more than one location in Mank.pdf
Cub Foods grocery stores have more than one location in Mank.pdfyuvarajm76
 
Creeping commitment refers to an approach to systems develop.pdf
Creeping commitment refers to an approach to systems develop.pdfCreeping commitment refers to an approach to systems develop.pdf
Creeping commitment refers to an approach to systems develop.pdfyuvarajm76
 
Cuckoo Egg LengthsCuckoos lay their eggs in the nests of .pdf
Cuckoo Egg LengthsCuckoos lay their eggs in the nests of .pdfCuckoo Egg LengthsCuckoos lay their eggs in the nests of .pdf
Cuckoo Egg LengthsCuckoos lay their eggs in the nests of .pdfyuvarajm76
 
Cuando se transfiere un grupo fosfato del ATP el transporte.pdf
Cuando se transfiere un grupo fosfato del ATP el transporte.pdfCuando se transfiere un grupo fosfato del ATP el transporte.pdf
Cuando se transfiere un grupo fosfato del ATP el transporte.pdfyuvarajm76
 
Cuando Noruega Islandia Liechtenstein y Suiza se unieron a.pdf
Cuando Noruega Islandia Liechtenstein y Suiza se unieron a.pdfCuando Noruega Islandia Liechtenstein y Suiza se unieron a.pdf
Cuando Noruega Islandia Liechtenstein y Suiza se unieron a.pdfyuvarajm76
 
Cuando las empresas son contratadas por otras empresas para .pdf
Cuando las empresas son contratadas por otras empresas para .pdfCuando las empresas son contratadas por otras empresas para .pdf
Cuando las empresas son contratadas por otras empresas para .pdfyuvarajm76
 

Mehr von yuvarajm76 (20)

Cul de las siguientes afirmaciones sobre la hepatitis B V.pdf
Cul de las siguientes afirmaciones sobre la hepatitis B V.pdfCul de las siguientes afirmaciones sobre la hepatitis B V.pdf
Cul de las siguientes afirmaciones sobre la hepatitis B V.pdf
 
Cul de las siguientes afirmaciones sobre la especiacin al.pdf
Cul de las siguientes afirmaciones sobre la especiacin al.pdfCul de las siguientes afirmaciones sobre la especiacin al.pdf
Cul de las siguientes afirmaciones sobre la especiacin al.pdf
 
Cul de las siguientes afirmaciones sobre la gemacin de ve.pdf
Cul de las siguientes afirmaciones sobre la gemacin de ve.pdfCul de las siguientes afirmaciones sobre la gemacin de ve.pdf
Cul de las siguientes afirmaciones sobre la gemacin de ve.pdf
 
Cul de las siguientes afirmaciones representa la fotosnte.pdf
Cul de las siguientes afirmaciones representa la fotosnte.pdfCul de las siguientes afirmaciones representa la fotosnte.pdf
Cul de las siguientes afirmaciones representa la fotosnte.pdf
 
Cul de las siguientes afirmaciones sobre el efecto del pH .pdf
Cul de las siguientes afirmaciones sobre el efecto del pH .pdfCul de las siguientes afirmaciones sobre el efecto del pH .pdf
Cul de las siguientes afirmaciones sobre el efecto del pH .pdf
 
Cuando no conocemos las desviaciones estndar de la poblaci.pdf
Cuando no conocemos las desviaciones estndar de la poblaci.pdfCuando no conocemos las desviaciones estndar de la poblaci.pdf
Cuando no conocemos las desviaciones estndar de la poblaci.pdf
 
Cul de estos cidos grasos de 18 carbonos tendra el menor.pdf
Cul de estos cidos grasos de 18 carbonos tendra el menor.pdfCul de estos cidos grasos de 18 carbonos tendra el menor.pdf
Cul de estos cidos grasos de 18 carbonos tendra el menor.pdf
 
Cul de estos componentes proporciona redundancia de datos .pdf
Cul de estos componentes proporciona redundancia de datos .pdfCul de estos componentes proporciona redundancia de datos .pdf
Cul de estos componentes proporciona redundancia de datos .pdf
 
Cuestionario de comunicaciones comerciales 15 La declara.pdf
Cuestionario de comunicaciones comerciales   15   La declara.pdfCuestionario de comunicaciones comerciales   15   La declara.pdf
Cuestionario de comunicaciones comerciales 15 La declara.pdf
 
Cuanto ms relacionadas estn dos especies ms similares so.pdf
Cuanto ms relacionadas estn dos especies ms similares so.pdfCuanto ms relacionadas estn dos especies ms similares so.pdf
Cuanto ms relacionadas estn dos especies ms similares so.pdf
 
Critical values for quick reference during this activity In.pdf
Critical values for quick reference during this activity In.pdfCritical values for quick reference during this activity In.pdf
Critical values for quick reference during this activity In.pdf
 
Cul de estas texturas ayuda al gelogo a determinar si una.pdf
Cul de estas texturas ayuda al gelogo a determinar si una.pdfCul de estas texturas ayuda al gelogo a determinar si una.pdf
Cul de estas texturas ayuda al gelogo a determinar si una.pdf
 
Cuestionario de prctica de OPS 2 Los beneficios de la agr.pdf
Cuestionario de prctica de OPS  2 Los beneficios de la agr.pdfCuestionario de prctica de OPS  2 Los beneficios de la agr.pdf
Cuestionario de prctica de OPS 2 Los beneficios de la agr.pdf
 
Cuando un gran nmero de especies a veces taxones principal.pdf
Cuando un gran nmero de especies a veces taxones principal.pdfCuando un gran nmero de especies a veces taxones principal.pdf
Cuando un gran nmero de especies a veces taxones principal.pdf
 
Cub Foods grocery stores have more than one location in Mank.pdf
Cub Foods grocery stores have more than one location in Mank.pdfCub Foods grocery stores have more than one location in Mank.pdf
Cub Foods grocery stores have more than one location in Mank.pdf
 
Creeping commitment refers to an approach to systems develop.pdf
Creeping commitment refers to an approach to systems develop.pdfCreeping commitment refers to an approach to systems develop.pdf
Creeping commitment refers to an approach to systems develop.pdf
 
Cuckoo Egg LengthsCuckoos lay their eggs in the nests of .pdf
Cuckoo Egg LengthsCuckoos lay their eggs in the nests of .pdfCuckoo Egg LengthsCuckoos lay their eggs in the nests of .pdf
Cuckoo Egg LengthsCuckoos lay their eggs in the nests of .pdf
 
Cuando se transfiere un grupo fosfato del ATP el transporte.pdf
Cuando se transfiere un grupo fosfato del ATP el transporte.pdfCuando se transfiere un grupo fosfato del ATP el transporte.pdf
Cuando se transfiere un grupo fosfato del ATP el transporte.pdf
 
Cuando Noruega Islandia Liechtenstein y Suiza se unieron a.pdf
Cuando Noruega Islandia Liechtenstein y Suiza se unieron a.pdfCuando Noruega Islandia Liechtenstein y Suiza se unieron a.pdf
Cuando Noruega Islandia Liechtenstein y Suiza se unieron a.pdf
 
Cuando las empresas son contratadas por otras empresas para .pdf
Cuando las empresas son contratadas por otras empresas para .pdfCuando las empresas son contratadas por otras empresas para .pdf
Cuando las empresas son contratadas por otras empresas para .pdf
 

Kürzlich hochgeladen

The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 

Kürzlich hochgeladen (20)

The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 

Create a file called groceryts It should have a definition.pdf

  • 1. Create a file called grocery.ts. It should have a definition of a class with the obvious name Grocery . The class should have some basic attributes such as name, quantity, etc. Feel free to add any other attributes you think will be necessary. Add few grocery items to an array of groceries, such as milk, bread, and eggs, along with some quantities (i.e. 3, 6, 11). Display these grocery items as HTML output. The output of this assignment will be grocery.ts and groceries.html displaying the output.