Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. import s2 = require('@radarlabs/s2');
  2.  
  3. // an arbitrary point in the East Village in New York City
  4. const cell = s2.CellId.fromToken('89c25977e5d62c4b')
  5. cell.id().charAt(0); // compilation error - bigint doesn't have charAt method
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement