Hacker News new | ask | show | jobs
by the42thdoctor 52 days ago
This reminds me of the speech to text API, which already uses AI and is available on almost all browsers. So there's already precedent.

But most importantly this would enable us to finally write JavaScript like this:

const a = prompt("how much is 31c in Fahrenheit")

The future looks bright!

1 comments

I know you're probably joking, but I was curious how hard it would be.

const cToF = c => c * 9/5 + 32; const a = cToF(31);