Method autoExtend documentation
Extends the bbn object by passing the namespace and the object it will merge with.
Example
```javascript
bbn.fn.autoExtend("fn", {myOwnFunction: () => "Result of my own function"});
bbn.fn.myOwnFunction();
// Result of my own function
```
Example
```javascript
bbn.fn.autoExtend("env", {serverLanguage: "php"});
bbn.env.sercerLanguage
// php
```
Example
```javascript
bbn.fn.autoExtend("myProject", {name: "My Project"});
bbn.myProject.name
// Project
```
Extends the bbn object by passing the namespace and the object it will merge with. - This function is a self-centric shortcut for adding functions or proerties
to the bbn object itself.
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-2023
BBN Solutions