# Non-Enumerable Property
> [Define][@stdlib/utils/define-property] a **non-enumerable** property.
## Usage
```javascript
var setNonEnumerableProperty = require( '@stdlib/utils/define-nonenumerable-property' );
```
#### setNonEnumerableProperty( obj, prop, value )
[Defines][@stdlib/utils/define-property] a **non-enumerable** property.
```javascript
var obj = {};
setNonEnumerableProperty( obj, 'foo', 'bar' );
var v = obj.foo;
// returns 'bar'
```
## Notes
- Non-enumerable properties are **writable** and **configurable**.
## Examples
```javascript
var objectKeys = require( '@stdlib/utils/keys' );
var setNonEnumerableProperty = require( '@stdlib/utils/define-nonenumerable-property' );
function Foo( name ) {
if ( !(this instanceof Foo) ) {
return new Foo( name );
}
setNonEnumerableProperty( this, 'name', name );
return this;
}
var foo = new Foo( 'beep' );
var v = foo.name;
// returns 'beep'
var keys = objectKeys( foo );
// returns []
```
[@stdlib/utils/define-property]: https://www.npmjs.com/package/@stdlib/utils/tree/main/define-property