aureooms/js-code

View on GitHub
js/src/brackets.js

Summary

Maintainability
A
1 hr
Test Coverage
exports.brackets = function ( object , key ) {
    this.object = object ;
    this.key = key ;
} ;

exports.brackets.prototype.toString = function ( ) {
    return "(" + this.object.toString( ) + ")[" + this.key.toString( ) + "]" ;
} ;