Ah, yes! I was trying to do it Java-doc style and forgot the @. Apparently
Jsdoc is very similar.


On Sun, Jan 26, 2014 at 12:47 AM, b0ri5 <notifications@github.com> wrote:

> In projecteuler/p0001/multiples_of_3_or_5.js:
>
> > @@ -0,0 +1,29 @@
> > +'use strict';
> > +
> > +// param a is the first term
> > +// param d is the "common difference" or step between numbers
> > +// param n is the number of terms to sum
> > +const arithmetic_sum = function(a, d, n) {
> > +  return (n / 2) * (2 * a + d * (n - 1));
> > +};
> > +
> > +// param a defines the top of the range to sum (1, a)
>
> Same comment about using jsdoc.
>
> Also perhaps something like "@param <https://github.com/param> n The
> number whose divisors are being summed"? Sounds a little awkward I guess.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/b0ri5/solvents/pull/39/files#r9174511>
> .
>