{"id":3983,"date":"2023-03-02T17:48:43","date_gmt":"2023-03-02T22:48:43","guid":{"rendered":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/?p=3983"},"modified":"2023-03-02T17:48:54","modified_gmt":"2023-03-02T22:48:54","slug":"5a-what-are-the-arithmetic-operators-in-javascript-and-what-do-they-all-do","status":"publish","type":"post","link":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/2023\/03\/02\/5a-what-are-the-arithmetic-operators-in-javascript-and-what-do-they-all-do\/","title":{"rendered":"(5A) What are the arithmetic operators in JavaScript, and what do they all do?"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Java script is a coding language that is made for users to interact with websites or games. When you are working with functions, they have a chance of containing arithmetic operators. Arithmetic operators are mathematical operations that are applied to functions, loops or anything else that has to do with Java script. These operators used in PEMDAS are +, -, * or multiplication and \/ or division. There are other operators that can be used, such as the modulus operator(%). This is used for returning the remainder after the division. Another one is the increment operator or ++. This is used to increase the value of any variable by 1. Lastly, you have the decrement or &#8211; -.This is the opposite of the increment operator, as this one is used to decrease the value of any variable by 1. Arithmetic operators could also be used to be placed together in order to change the output of a variable.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Java script is a coding language that is made for users to interact with websites or games. When you are working with functions, they have a chance of containing arithmetic operators. Arithmetic operators are mathematical operations that are applied to functions, loops or anything else that has to do with Java script. These operators used [&hellip;]<\/p>\n","protected":false},"author":29174,"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,10531,1],"tags":[],"class_list":{"0":"post-3983","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-instructor","7":"category-student-post","8":"category-uncategorized","9":"entry"},"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/3983","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\/29174"}],"replies":[{"embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/comments?post=3983"}],"version-history":[{"count":3,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/3983\/revisions"}],"predecessor-version":[{"id":3988,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/3983\/revisions\/3988"}],"wp:attachment":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/media?parent=3983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/categories?post=3983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/tags?post=3983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}