Ad
Code
Diff
  • const cinema_auditorium = (spisok2D,ryad) => spisok2D[ryad].reduce((sum, el)=> sum+el);
    • const cinema_auditorium = (spisok2D,ryad)=> {
    • return spisok2D[ryad].reduce((sum, el)=> sum+el)
    • }
    • const cinema_auditorium = (spisok2D,ryad) => spisok2D[ryad].reduce((sum, el)=> sum+el);