How barcode check digits work (EAN-13 and UPC-A, with a 10-line function)The last digit of an EAN-13 or UPC-A barcode isn't part of the product number. It's a check digit, there so a scanner can catch a misread. The EAN-13 rule Take the first 12 digits. Counting from the l2 min read·gotoolsonline.hashnode.dev5d ago
Why your JSON won't parse: the 6 usual suspects (and how to format it safely in the browser)Unexpected token } in JSON at position 214 is one of the most common errors a developer sees, and it is almost always one of a handful of mistakes. JSON looks like JavaScript, but it is much stricter.3 min read·gotoolsonline.hashnode.dev13SOct 17