Javascript fetch api inside client script

I was wondering if I can use Javascript’s “fetch” api call inside client script without importing any libraries. I am new to fetch. That is why I ask.

I tried doing ajax call using jquery, but ran into problems. That is why thinking of using fetch.

Please help.

Yes, you can if your browser supports it.