Project translated automatically.
Log in
or
register,
to view the original
The site has a function that must return the corresponding cost depending on the conditions. All conditions come in the form of a massive object. Every object in the mass has conditions and has a value. There are input data that the client indicates. The script on the basis of the input data must pass through this mass of objects and where all the conditions are fulfilled must return the value.
More detailed information
https://docs.google.com/document/d/1ZdBK3vbWbd3D9cEwkF-mFYcAAaP_nXecC5re8kVyodM/edit?usp=sharing