npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

define-frozen-property

0.1.0 • Public • Published

defineFrozenProperty

NPM version Downloads Build Status Dependency status Dev Dependency status

Shortcut for defineProperty.

var defineFrozenProperty = require('define-frozen-property');
 
var student = {};
 
defineFrozenProperty(student, 'name', 'Kate', true/*enumerable*/);
defineFrozenProperty(student, 'age', '28');

install

npm i define-frozen-property

Downloadsweekly downloads

2

version

0.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability