Slice specific keys in javascript object
<p>In rails, i have a special <code>slice</code> <a href="http://apidock.com/rails/Hash/slice" rel="noreferrer">method</a> to keep in <code>Hash</code> only keys I need. It is very handy to permit only required keys in a hash.</p>

<p>Is there a method like this in <strong>Node.js</strong>?</p>