Gayathri Kumaran posted: " We can use these code snippets to filter a JavaScript object their keys. Filter and reduce with Object.keys() const obj = { employeeId: 'TRE54673DF', accountId: 'ExS76422', name: 'Nanand' }; Object.keys(obj).filter((key) => key.includes('Id'))"
|

No comments:
Post a Comment
Note: Only a member of this blog may post a comment.