Update base.js

* if value if an Array * -> * if value is an Array *