@cadey god that's terrible
Conversation
Notices
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Wednesday, 24-Jan-2024 03:56:45 JST Foone🏳️⚧️ -
Xe :verified: (cadey@pony.social)'s status on Wednesday, 24-Jan-2024 03:56:52 JST Xe :verified: You can full send the currying too:
const atoi = JSON.parse;Ask your local haskeller why this works!
-
Xe :verified: (cadey@pony.social)'s status on Wednesday, 24-Jan-2024 03:57:00 JST Xe :verified: Remember kids, the best way to convert a string to a number in javascript is with the JSON parser!
const atoi = (str) => JSON.parse(str);Simple and easy!
-