{"id":3847,"date":"2023-03-02T12:13:03","date_gmt":"2023-03-02T17:13:03","guid":{"rendered":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/?p=3847"},"modified":"2023-03-02T12:13:03","modified_gmt":"2023-03-02T17:13:03","slug":"why-do-we-use-loops-6b-2","status":"publish","type":"post","link":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/2023\/03\/02\/why-do-we-use-loops-6b-2\/","title":{"rendered":"Why do we use loops? 6B"},"content":{"rendered":"<p>Loops in Javascript are used to help in the execution of a code sequence. Typically it is used when sequence is fixed. When we want the code to run a specific sequence and number of times, the Nested loops are used to represent this function. When we don&#8217;t know the specific number of times for a sequence, the &#8220;while&#8221; loop is used to repeat the code block until it meets the specified conditions. The three parts involved in a For loop are the starter which is the keyword For, followed by the conditional testing and then to end the sequence, the EndFor keyword is use which ends the loops.\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Loops in Javascript are used to help in the execution of a code sequence. Typically it is used when sequence is fixed. When we want the code to run a specific sequence and number of times, the Nested loops are used to represent this function. When we don&#8217;t know the specific number of times for [&hellip;]<\/p>\n","protected":false},"author":29409,"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":[10531],"tags":[],"class_list":{"0":"post-3847","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-student-post","7":"entry"},"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/3847","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\/29409"}],"replies":[{"embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/comments?post=3847"}],"version-history":[{"count":1,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/3847\/revisions"}],"predecessor-version":[{"id":3848,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/3847\/revisions\/3848"}],"wp:attachment":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/media?parent=3847"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/categories?post=3847"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/tags?post=3847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}