S
S
SixtyNice2018-12-16 18:48:43
JavaScript
SixtyNice, 2018-12-16 18:48:43

How to rewrite this from C# to javascript?

How to rewrite this loop from C# to js?

foreach(var p in Enumerable.Range(2,n-i-1)
{
options.Add(-1);
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question