Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/13/2016 in Posts

  1. var count = 0;for(var i = 0; i < arguments.length; i++)count = count + i;витки цикла: count = 0 + 0; count = 0 + 1; count = 1 + 2; count = 3 + 3; count = 6 + 4; В итоге функция возвращает 10 UPD А что мешало просто сделать вот так: function foo(){ return "Число аргументов: " + arguments.length;}Или ты с циклами экспериментируешь?
    1 point
  2. 1 point
This leaderboard is set to Kiev/GMT+02:00
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy