NodeJS : JavaScript - reading JSON file with require gives different result than fs.readFileSync

Channel:
Subscribers:
76,600
Published on ● Video Link: https://www.youtube.com/watch?v=v4sxFmWQ8Kc



Duration: 1:30
0 views
0


NodeJS : JavaScript - reading JSON file with require gives different result than fs.readFileSync
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

As promised, I'm going to share a hidden feature with you.
This is a YouTube's feature which works on Desktop.
First, Make sure the video is currently in playing mode.
Then, type the letters 'awesome' on your keyboard as the next step.
Your YouTube progress indicator will turn into a shimmering rainbow.

A little intro about me,
Hi there, I go by the name of Delphi.
I help you answer your questions.
NodeJS : JavaScript - reading JSON file with require gives different result than fs.readFileSync
If you have more specific query you can comment or chat with me and let me know your queries.
If you have an answer or any additional information on the answer, please leave a comment below.
Providing an answer will be acknowledged and appreciated with a 'heart' from me.
gives JSON than - reading JavaScript result : different file require NodeJS with fs.readFileSync