{"id":132,"date":"2014-03-26T23:00:36","date_gmt":"2014-03-27T07:00:36","guid":{"rendered":"http:\/\/www.tech.dimprash.com\/?p=132"},"modified":"2014-03-26T23:00:36","modified_gmt":"2014-03-27T07:00:36","slug":"javascript-tricky-questions","status":"publish","type":"post","link":"http:\/\/www.tech.dimprash.com\/?p=132","title":{"rendered":"Javascript Tricky Questions"},"content":{"rendered":"<p>Q) What does &#8220;1&#8221;+2+4 evaluate to?<br \/>\nAns: Since 1 is a string, everything is a string, so the result is 124.<\/p>\n<p>Q) What does 3+4+&#8221;7&#8243; evaluate to?<br \/>\nAns: Since 3 and 4 are integers, this is number arithmetic, since 7 is a string, it is concatenation, so 77 is the result.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Q) What does &#8220;1&#8221;+2+4 evaluate to? Ans: Since 1 is a string, everything is a string, so the result is 124. Q) What does 3+4+&#8221;7&#8243; evaluate to? Ans: Since 3 and 4 are integers, this is number arithmetic, since 7 is a string, it is concatenation, so 77 is the result.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-132","post","type-post","status-publish","format-standard","hentry","category-javascript"],"_links":{"self":[{"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/posts\/132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=132"}],"version-history":[{"count":1,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/posts\/132\/revisions"}],"predecessor-version":[{"id":133,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/posts\/132\/revisions\/133"}],"wp:attachment":[{"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=132"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}