diff --git a/lib/node.js b/lib/node.js index c92cb3f..d4544bb 100644 --- a/lib/node.js +++ b/lib/node.js @@ -171,7 +171,7 @@ class Node { * Returns all attributes of this node * @returns {Array.} */ - attributes() { + get attributes() { const attributes = this.get().attribs const array = []