Guest User

Untitled

a guest
Jul 21st, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. // You don't need to type cast the integer `deleteId` to a string in the
  2. // browser, but when running Jest specs, I found that I had to cast to a
  3. // string. Maybe this is a difference between browser JS and Node, which
  4. // the tests run in?
  5. const { [`${deleteId}`]: deleted, …newCharacters } = characters;
Add Comment
Please, Sign In to add comment