Dan
Dan
Support for directly converting between bases was added in da8793a722e36f20ab47fbddd3a982e6da933a46, but these conversions weren't added.
@Hoodgail, the contrast is too low. Feel free to submit a PR with syntax highlighting though.
@Hoodgail, great suggestion! Feel free to submit a PR.
Sorry for the late reply. This seems like a great idea. If you'd like to submit a pull request, I'd be happy to merge it.
@the-wulv, I agree, this seems like a good addition. Feel free send a pull request with this feature.
If [`String.dedent`](https://github.com/tc39/proposal-string-dedent) becomes a reality, this should definitely be implemented!
I assume what you're saying is that there are situations where you don't store the original location, meaning you can't reconstruct the raw value. I'm not sure that it's possible...
FWIW, the Terser implementation isn't complete, so the linked code isn't sufficient to make it completely safe. I've filed an issue with Terser: https://github.com/terser/terser/issues/1408
I fully agree, these would all be valuable additions. PRs will be accepted.
> If we expect `promise2 ??= x;` to be considered used, should `promise2 += x;` to be considered used? No. In `promise2 ??= x`, `x` is conditionally evaluated, but in...