Помощ. Ломаю голову над областью видимости.

let Palindromic = 0; for(let a = 999; a >= 100; a--){ for(let b = 999; b >= 100; b--){ number = a*b; String(number) !== String(number).split('').reverse().join('') ? {Palindromic < number ? Palindromic = number : continue;} : continue; } } console.log(Palindromic); SyntaxError: missing : after property id

29 August, 05:06
204

No comments

Add comment
You cannot add a new comment. In order to add a comment, please sign in or sign up
You cannot vote. In order to vote, please sign in or sign up

No answers

You can not answer questions. To answer the question, please sign in or sign up
Работа в Украине
Вакансии от WORK.ua
Програміст 1С
Киев, ДБК4, ПАТ
Дизайнер, 3D-визуализатор интерьеров, 18000 грн.
Киев, Quoroom, студия визуализации
IOS Developer
Днепр, V-jet group