0

I wrote

It is mainly a recursive function that initially is called with the root node of the DOM tree (body element) and traverses the nodes in the dept-first manner.

Should it be "that is initially called"?

1

Depending on the style, adverbs are put at various places. There is no one rule on that. However, I'd write this as...

Mainly, it is a recursive function that is initially called ....

Others may have their versions...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.