Skip to content
Advertisement

How to use dictionary in oop to store data

i want to ask you i want to store all informations in dictionary for this code but i can’t i know that something i did wrong.I like to store informations from Customers if issue take a hourly , monthly or daily it is on BikeRental request bikes what i tried by far is any way?

JavaScript

Advertisement

Answer

If you just wanted to store all information in a dictionary in request_bikes function then you can use something like below

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement