Skip to content

groundwater/node-lib-union

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

union objects

usage

var Union = require('lib-union')()

var union = Union.New();

// place default values
union.set('name', 'bob')
union.set('age', 20)

// insert a new writable layer
union.push()
union.set('name', 'tom')

// get values
union.get('name') // tom

// remove top layer
union.pop()
union.get('name') // bob

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published