G
G
Good Samaritan2018-02-18 10:41:33
JavaScript
Good Samaritan, 2018-02-18 10:41:33

Did I understand the code correctly?

There is a code

elements.forEach(title => title.append(edit.cloneNode(true)));

If I understand correctly, this means
elements.forEach(function(title){
        return title.append(edit.cloneNode(true))
    });

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Perov, 2018-02-18
@djamali

Yes, right

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question