Timeline for answer to How do I convert an integer to binary in JavaScript? by Diriector_Doc
Current License: CC BY-SA 4.0
Post Revisions
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 10, 2023 at 0:03 | history | wiki removed | Makyen♦ | ||
| Mar 9, 2023 at 23:59 | history | made wiki | Post Made Community Wiki by Makyen♦ | ||
| Mar 12, 2022 at 21:14 | history | edited | Diriector_Doc | CC BY-SA 4.0 |
Removed mention of `.toString(2)`
|
| Mar 12, 2022 at 10:51 | comment | added | barlop | your first sentence says ".toString(2) is probably your best bet.". -- Now try reading the first comment to the question. You see it says it only works for positive numbers. And try reading all the other answers that mention that issue with .toString(2). As for your function, it's interesting, you should state whether it works for positive numbers only, or for positive and negative numbers. | |
| Mar 12, 2022 at 5:35 | history | answered | Diriector_Doc | CC BY-SA 4.0 |