{"id":326,"date":"2018-03-16T04:01:45","date_gmt":"2018-03-15T22:01:45","guid":{"rendered":"https:\/\/mcqacademy.com\/en\/mcq\/when-used-as-a-constructor-like-new-myfunction-the-value-of-this-will-be-a-brand-new-function-this-will-be-considered-its-return-value\/"},"modified":"2018-03-16T04:01:45","modified_gmt":"2018-03-15T22:01:45","slug":"when-used-as-a-constructor-like-new-myfunction-the-value-of-this-will-be-a-brand-new-function-this-will-be-considered-its-return-value","status":"publish","type":"mcq","link":"https:\/\/mcqacademy.com\/en\/mcq\/when-used-as-a-constructor-like-new-myfunction-the-value-of-this-will-be-a-brand-new-function-this-will-be-considered-its-return-value\/","title":{"rendered":"When used as a constructor, like new MyFunction(), the value of this will be a brand new &#8230; function, this will be considered its return value."},"content":{"rendered":"<p>When used as a constructor, like <code>new MyFunction()<\/code>, the value of this will be a brand new object provided by the JavaScript runtime. If we don&#8217;t explicitly return anything from that function, this will be considered its return value.<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","topic":[127],"subject":[17],"class_list":["post-326","mcq","type-mcq","status-publish","hentry","topic-basic-javascript","subject-javascript"],"mcq_note":"When used as a constructor, like <code>new MyFunction()<\/code>, the value of this will be a brand new object provided by the JavaScript runtime. If we don't explicitly return anything from that function, this will be considered its return value. - true","mcq_options":[{"right":"yes","answer":"true"},{"right":"no","answer":"false"}],"multi_answers":"no","subject_terms":[{"id":17,"title":"JavaScript","slug":"javascript"}],"topic_terms":[{"id":127,"title":"Basic JavaScript","slug":"basic-javascript"}],"_links":{"self":[{"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/mcq\/326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/mcq"}],"about":[{"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/types\/mcq"}],"author":[{"embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/comments?post=326"}],"wp:attachment":[{"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/media?parent=326"}],"wp:term":[{"taxonomy":"topic","embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/topic?post=326"},{"taxonomy":"subject","embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/subject?post=326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}