Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // You don't need to type cast the integer `deleteId` to a string in the
- // browser, but when running Jest specs, I found that I had to cast to a
- // string. Maybe this is a difference between browser JS and Node, which
- // the tests run in?
- const { [`${deleteId}`]: deleted, …newCharacters } = characters;
Add Comment
Please, Sign In to add comment