Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // OPTION A: Nest value and coords within same obj
- _CELLS = {
- a: {
- v: 123,
- l: "B2"
- },
- b: {
- get v() {return a * 2},
- l: "B3"
- }
- }
- // OPTION B: Split value and coords objects
- _CELLS = {
- a: 123,
- get b() {return a * 2}
- }
- _DISPLAY = {
- a: "B2",
- b: "B3"
- }
Add Comment
Please, Sign In to add comment