Skip to content

argument mutation - breaking old code #866

Closed
@palamccc

Description

@palamccc

v2.0.0 is mutating arguments, i think its anti-pattern, can you avoid it ?

var fields = ["a","b","c"];
hmget("key", fields, function(err,ret){
  console.log(fields); //prints ["key","a","b","c"]
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions