Skip to content

z8/box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

box

一些JavaScript工具方法。

Box.extend

Merge the contents of two or more objects together into the first object.

@methed Box.extend
@param {Object} [, {Object}] [, {Object}] Objects you want to merge.
@return {Object} Retrun merged object.
@example

Box.extend(
	{a: 'word'}, 
	{
		a: 'string', 
		b: {
			key: 'value'
		}
	}
)

will return

{
	a: 'string',
	b: {
		key: 'value'
	}
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published