Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

MapConstraint of MapConstraint #8

Open
QuentinRoy opened this issue Aug 1, 2014 · 0 comments
Open

MapConstraint of MapConstraint #8

QuentinRoy opened this issue Aug 1, 2014 · 0 comments

Comments

@QuentinRoy
Copy link

It would be nice to be able to create a MapConstraint of a MapConstraint..

For example:

var cjsMap = cjs({
    '1': 'a',
    '2': 'b'
});
var other = cjs(cjsMap);

console.log(cjsMap.item('1')); // a
console.log(other.item('1')); // undefined :(
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant