js lang solution №2 update
This commit is contained in:
parent
8a3a35064e
commit
22179a17e2
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ function main() {
|
||||||
const numbers = args.slice(1).map(Number);
|
const numbers = args.slice(1).map(Number);
|
||||||
|
|
||||||
// 3. Запуск поиска
|
// 3. Запуск поиска
|
||||||
findSum(target, numbers);
|
const result = findSum(target, numbers);
|
||||||
|
|
||||||
if (result.length) {
|
if (result.length) {
|
||||||
console.log("OK: ", result.join(''));
|
console.log("OK: ", result.join(''));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue