Method numProperties documentation
Returns the number of properties contained in the object.
Example
```javascript
bbn.fn.numProperties({author: "Chuck Palahniuk", "title": "Fight club"});
// 2
```
Example
```javascript
bbn.fn.numProperties({username: "chuck", "password": "soap", _bbn_timestamp: 1587323193751});
// 2
Example
```javascript
let d = new Date();
bbn.fn.numProperties(d);
// 0
d.myProp = 1;
bbn.fn.numProperties(d);
// 1
```
Returns the number of properties contained in the object. - Only takes into account the own properties - not the inherited ones - and the non _private_ ones.
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2025
BBN Solutions