---
description: Hidden method of array helpers
---

# $.array.hidden

Hidden method is the oposite of select method, here we hide some object property from array of objects by removing specific object by its property name, this method only work on array of objects, so you can't use this method to hide number, string or others.

```
$.array.hidden(fromArray, ...propertyNames*)

// Example:
const fromArray = [
  { id: 1, name: 'Zulkifli', position: 'Vue.js Developer', office: 'Jakarta', extension: 2456, startdate: '2011-10-11', salary: 160000 },
  { id: 2, name: 'Usman', position: 'Alpine.js Developer', office: 'Banda Aceh', extension: 2466, startdate: '2011-10-11', salary: 270000 },
  { id: 3, name: 'Nurjannah', position: 'Alga.js Developer', office: 'Sigli', extension: 2474, startdate: '2011-10-11', salary: 150000 }
]

$.array.hidden(fromArray, 'id', 'position', 'startdate', 'salary', 'extension')
//=> [
//  {name: 'Zulkifli', office: 'Jakarta'}, 
//  {name: 'Usman', office: 'Banda Aceh'},
//  {name: 'Nurjannah', office: 'Sigli'}
//]
```
