Timeline for answer to How do I convert an integer to binary in JavaScript? by Yadab Sutradhar
Current License: CC BY-SA 4.0
Post Revisions
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 6, 2025 at 4:29 | history | edited | Yadab Sutradhar | CC BY-SA 4.0 |
added 12 characters in body
|
| Mar 10, 2023 at 0:02 | history | wiki removed | Makyen♦ | ||
| Mar 9, 2023 at 23:59 | history | made wiki | Post Made Community Wiki by Makyen♦ | ||
| Jul 6, 2022 at 18:35 | comment | added | barlop | What are you talking about. Nobody asked you anything. And this question was already answered long before you posted an answer | |
| Jul 6, 2022 at 18:11 | comment | added | Yadab Sutradhar | @barlop then you should search for similar answers instead of asking 😅... | |
| Jul 6, 2022 at 18:08 | comment | added | barlop | Try reading other answers instead of posting an answer that doesn't answer it(doesn't address negative numbers), then adjusting your answer with a copy of a solution that is mentioned in another answer, to do it for negatives. By the way, MDN has a solution too, but all that is mentioned in other answers, so you aren't adding anything here. | |
| May 14, 2022 at 8:11 | history | edited | Yadab Sutradhar | CC BY-SA 4.0 |
added 111 characters in body
|
| May 14, 2022 at 8:10 | comment | added | Yadab Sutradhar | @barlop you should respect the ideal thing, not you're looking for. Js is a loosely language you know. you can easily do it by (n >>> 0).toString(2) | |
| May 12, 2022 at 22:38 | comment | added | barlop | You haven't even read the first line of the question, which said for negative numbers too. Your solution doesn't work for negative numbers. | |
| May 12, 2022 at 17:07 | history | answered | Yadab Sutradhar | CC BY-SA 4.0 |