Bug with a double question mark
See original GitHub issueHi, I found a bug with a double question mark “??” (opts.mode ?? 1)
Android 8/9 - uPlot.iife.min.js msg:“Uncaught SyntaxError: Unexpected token ?”, line:2, col:15438, stack:“SyntaxError: Unexpected token ?”
function uPlot(opts, data, then) { const self = { mode: opts.mode ?? 1, };
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Question Mark Butterfly - Insect Identification
The Question Mark could look like two separate butterflies if seen with its wings up and then its wings down. The edges of...
Read more >Question Mark - Polygonia interrogationis - BugGuide.Net
In Austin, you only have two choices: Question Mark and Eastern Comma (which is rare). You can clearly see the double spot on...
Read more >Two question marks instead of emoji · Issue #6676 - GitHub
Bug description. If a space is inserted after an emoji at the end of a line, sometimes two question marks are sent instead...
Read more >double-question marks ?? in JQuery-posted AJAX causes errors
I've been able to reproduce this when trying to create a Version or Component in the project admin screens. Comments. Matt Quail.
Read more >Uncomprehensible jQuery $.ajax() behavior when data ...
This problem only happens when there are two or more consecutive question marks in the value field inside the sent JSON object, even...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i guess it’s that time of the year to have “that conversation” again.
@denyaalt first, please understand that i appreciate the issues you have opened in the past here, which have allowed me to improve the project for you and for others.
with that said…
your contributions to open source appear to pretty much end there.
however, you seem to have a very strong opinion about how i should run uPlot and what browsers i need to support. that’s an amazing lack of perspective, and, frankly, respect. before you lecture me about supporting old tech, perhaps you can first finish working on https://github.com/leeoniya/uPlot/issues/474, or pick up another open issue here (just kidding, of course, i know this won’t happen). i maintain this project solo, i have 3 sponsors that total perhaps $10/mo, for a lib used by numerous multi-million $ businesses that pay me [drum roll]…$0. nice gig, right?
let’s talk about old browsers.
where in uPlot’s readme, demos, docs, or source code do you see any statement about browser support? i’ll save you some time: nowhere. the fact that it works at all in anything older than browsers released 6 months ago can be considered pure luck. as a single human being, with a finite amount of time, i’m not about to start testing uPlot in every fly-by-night version of every browser on every platform. your 2015 TV has some built-in browser based on IE8 that will never be updated? that’s truly unfortunate, but definitely your problem, and not mine.
really? https://backlinko.com/browser-market-share
maybe, some of them should pay me to support them 🤷
i don’t deliver uPlot to end users, i deliver it to developers. if your users need old browser support, guess whose job it is to ensure that your code and your dependencies run through Babel with specific browser targets. the answer may not surprise you!
so, for the record:
uPlot runs in browsers that i can reasonably test and have a significant market share <today>. this typically means several prior versions of evergreen browsers, which are updated and fixed continuously. literally anything else may or may not require polyfills and/or Babel. if you have specific browser targets, it’s on you to guarantee this promise to your users.
Excuse me please… I just wanted to suggest not to use the new ES2020 features that we can easily do without…