Created
March 13, 2019 21:08
-
-
Save newton-migosi/8bf1155ccfc11f63452861db42e6b97c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new Grid({rows: 3, columns: 3}) | |
.selectAll() | |
.fill(cell => Grid.flatIndex(cell, 3) + 1) | |
.selectAll(cell => cell.col < 2) | |
.mutate(val => val -1) | |
.apply() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment