Test name | Executions per second |
---|---|
Ramda values | 4235835.5 Ops/sec |
Object.values() | 4817755.5 Ops/sec |
<script src="https://cdnjs.cloudflare.com/ajax/libs/ramda/0.25.0/ramda.min.js"></script>
const data = {
key: "abc"
}
R.values(data);
const data = {
key: "abc"
}
Object.values(data);