/discount

for ThoughtWorks

Primary LanguageJavaScript

discount

###This project has no test module.

###How to run To run the project, please type in "node main.js" in the console, and the results will show in the console.

###auto_create_product.sh This is to automatically create products.json.

###input.js To normalizing the input of note. Add the ITEMXXXXXX what you want to buy to the array input.Now there are some default settings.

###read_file.js Read products.json.

###main.js Main entry;

github repo:https://github.com/bsdfzzzy/discount.git