@aureooms/js-attr
v1.0.0
Published
attribute code bricks for JavaScript
Downloads
5
Maintainers
Readme
js-attr
Attribute code bricks for JavaScript.
Installation
Can be managed through duo, component, bower, or npm.
let attr = require( "@aureooms/js-attr" ) ;
Usage
( "abcd" )[attr.len] ; // 4
( new Array( 17 ) )[attr.len] ; // 17
Object.keys( { a : 0 , b : 0 , c : 0 } )[attr.len] ; // 3
( function ( a , b ) { return a + b ; } )[attr.len] ; // 2