You add a line X to app.js and run git add app.js. Before committing, you add a second line Y to the same file and save it. You have not staged anything else.
An interviewer asks: if you now run plain git diff with no arguments, what will it show for app.js?