jQuery : Should I return null, an empty object or an empty array for json with no data?
jQuery : Should I return null, an empty object or an empty array for json with no data?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"
As I promised, I have a secret feature to share with you.
This is a YouTube's feature which works on Desktop.
First, Ensure that the video is playing before proceeding.
Then, type the letters 'awesome' on the keyboard.
You will see a flashing rainbow instead of a regular progress bar on YouTube.
A quick introduction about me,
Welcome, I'm Delphi.
Let me aid you in resolving any queries you may have.
jQuery : Should I return null, an empty object or an empty array for json with no data?
If you have more specific query you can comment or chat with me and let me know your queries.
Your thoughts and contributions are welcome, so please leave a comment below if you have an answer or insights to the answer.
A 'heart' from me will be given as a sign of appreciation for your answer.
empty an Should with I an object for data? empty json null, jQuery : return array or no