{"id":3294,"date":"2023-02-27T13:03:17","date_gmt":"2023-02-27T18:03:17","guid":{"rendered":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/?p=3294"},"modified":"2023-02-27T13:03:17","modified_gmt":"2023-02-27T18:03:17","slug":"what-is-the-purpose-of-isnan","status":"publish","type":"post","link":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/2023\/02\/27\/what-is-the-purpose-of-isnan\/","title":{"rendered":"What is the purpose of isNaN?"},"content":{"rendered":"<p>IsNaN is a JavaScript function that is used to decide if a value is NaN (Not-a-Number) or not. NaN (Not-a-Number) is a value in JavaScript that represents an invalid or unrepresentable number, for example the result of dividing zero by zero or the square root of a negative number. The purpose of isNaN is to see if a value is NaN (Not-a-Number) or not. This function takes one argument, which is the value that gets tested and if the argument is NaN then the function comes back as true. But if the argument is not NaN (a number or can be converted to a number), the function comes back as false. Overall IsNaN is great for checking if a value is a NaN or not when using JavaScript.\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IsNaN is a JavaScript function that is used to decide if a value is NaN (Not-a-Number) or not. NaN (Not-a-Number) is a value in JavaScript that represents an invalid or unrepresentable number, for example the result of dividing zero by zero or the square root of a negative number. The purpose of isNaN is to [&hellip;]<\/p>\n","protected":false},"author":29435,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[663943],"tags":[],"class_list":{"0":"post-3294","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-instructor","7":"entry"},"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/3294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/users\/29435"}],"replies":[{"embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/comments?post=3294"}],"version-history":[{"count":1,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/3294\/revisions"}],"predecessor-version":[{"id":3295,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/3294\/revisions\/3295"}],"wp:attachment":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/media?parent=3294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/categories?post=3294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/tags?post=3294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}