JavaScriptQuestion 36 of 36Multiple choiceundefined or not defined?BookmarkReview laterWhat happens when this code runs, if x was never declared?JavaScriptconsole.log(x);Choose one answer.A.It prints undefinedB.It prints nullC.ReferenceError: x is not definedD.It prints an empty stringCheck answerBased on the cardDifferences between not defined and undefined? — JavaScript