Skip to content

check if the environment supports { ...a } spread syntax

License

Notifications You must be signed in to change notification settings

inspect-js/has-object-spread

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

has-object-spread

check if the environment supports { ...a } spread syntax

npm travis

Install

npm install has-object-spread

Usage

var hasObjectSpread = require('has-object-spread')

if (hasObjectSpread()) {
	clone = Function('object', '({ ...object })')
}

License

Apache-2.0

About

check if the environment supports { ...a } spread syntax

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors