There is essentially no way to tell if a JS app is using a lot of memory just by looking at what the process has reserved. There's loads of things that end up in that space - cached pages, cached compiled code, cached bitmaps of rendered pages, etc.
The task monitor tells you what Chrome or Chromium (e.g. Electron) is doing, not what the web app is doing.
There is a good argument to suggest Chromium is hogging more than it should. That's not really WhatsApp's fault though.