The conversation between human and AI assistant.
[|Human|] Refactor this code snippet to make it more efficient.
[|AI|] Here is a refactored version of the code that uses the `Array.prototype.forEach()` method to loop through the array and makes the code more concise and efficient:

```javascript
arr.forEach(function(element) {
    if (element > 10) {
        console.log(element);
    }
});
```
[|Human|] 
Refactor this code snippet to make it more efficient.