I was wondering how reddit accessed my native device share functionality when you pressed the “share” button on a post, turns out it was a JS API
Edit: it's cool and fun, nice weekend project.
This is how I learnt that even desktop operating system (Win10 in this case) nowadays has share feature.