First push

This commit is contained in:
nkaputnik
2022-07-26 09:45:34 +02:00
parent 2b6d4c625e
commit c3c9dae80d
10 changed files with 203 additions and 69 deletions

View File

@@ -0,0 +1,6 @@
const result_ = Array.isArray(result) ? result : [result];
for (const row of result_) {
if (row.stock > 50) {
row.title += " ---Order now for a 10% discount!";
}
}