Related to this quine answer. There was this comment:
That meta question is not applicable to this answer.
document.bodyis not a function which you've created and are now printing the source of.
document.bodyis a function that returns an object with string attributes that contain the source code of the program. – Jo King
This comment basically says there is some abstraction between the source code and accessing it. To me, this still looks like the same thing as reading your own source code.
Should this be allowed in quines?
This is not a duplicate of What counts as a proper quine?
Even though the question is similar, there were enough likes on my questions in the comments on the JS answer that there is obviously still some clarification needed.