{"id":4217,"date":"2023-03-02T20:55:21","date_gmt":"2023-03-03T01:55:21","guid":{"rendered":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/?p=4217"},"modified":"2023-03-02T20:55:21","modified_gmt":"2023-03-03T01:55:21","slug":"weekly-discussion-blogs-5a","status":"publish","type":"post","link":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/2023\/03\/02\/weekly-discussion-blogs-5a\/","title":{"rendered":"Weekly discussion blogs 5A"},"content":{"rendered":"<p>A variable in JavaScript stores a value, which can be a string, number, letters or any other data type. Variables in JavaScript are labeled using the var, let, or const keyword, followed by a name in parentheses.<br \/>\nOnce a variable is created, it can be given a value using the assignment operator (=). The value of a variable can be changed or updated at any time during the execution of a JavaScript program. Variables are essential in coding, since they allow developers to store and manage data.<br \/>\nWe can create a variable like this example:<br \/>\nlet variablename = 7;<br \/>\nInitialization is giving a value to a variable and if there is no value given to a variable it is called that it is declared.<\/p>\n<p>JavaScript can also perform arithmetic operators. For these operations, we can use addition +, subtraction -, multiplication *, division \/, remainder %, increment adds 1 to a variable ++.<br \/>\ndecrement subtracts 1 from a variable \u2013 \u2013 ,<\/p>\n<p>In JavaScript we also use concatenation where we connect two string into one.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A variable in JavaScript stores a value, which can be a string, number, letters or any other data type. Variables in JavaScript are labeled using the var, let, or const keyword, followed by a name in parentheses. Once a variable is created, it can be given a value using the assignment operator (=). The value [&hellip;]<\/p>\n","protected":false},"author":29453,"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-4217","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\/4217","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\/29453"}],"replies":[{"embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/comments?post=4217"}],"version-history":[{"count":1,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/4217\/revisions"}],"predecessor-version":[{"id":4218,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/4217\/revisions\/4218"}],"wp:attachment":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/media?parent=4217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/categories?post=4217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/tags?post=4217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}