{"id":3530,"date":"2023-02-28T16:26:30","date_gmt":"2023-02-28T21:26:30","guid":{"rendered":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/?p=3530"},"modified":"2023-02-28T16:26:30","modified_gmt":"2023-02-28T21:26:30","slug":"variables-in-javascript-5a","status":"publish","type":"post","link":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/2023\/02\/28\/variables-in-javascript-5a\/","title":{"rendered":"Variables in Javascript 5A"},"content":{"rendered":"<p>A variable in java script is a location for date storage. There are two types of variables that are renowned in java script which are global variables and local variables. In javascript, a variable is created when you combine the word let with the data that you are trying to decipher. In order to initialize a variable in javascript, one must first use the type followed by the variable, an equal sign and lastly the expression. the difference between initialization and declaration in variables is that declaration declares how the creation of variables is met while initialization helps to initiate the values use of variables. When naming a variable in javascript one must start off the sequence with a lowercase letter and then followed by capitalizing the first letter of the following words. When using Java script, the arithmetic operators are distinguished through numerical values such as variables or literals. They are returned as a single numerical value but the main symbols used are the subtraction, division, multiplication and addition symbols. These arithmetic operators help to create a sequence\/formula on javascript. Concatenation in Javascript is the operation to join more than two strings to give a one finalized result. The two concatenation operators used is javascript are the + and the +=. Lastly, javascript used the prompt () as a way to prompt a user for a response. This helps to get the users input on the code.\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A variable in java script is a location for date storage. There are two types of variables that are renowned in java script which are global variables and local variables. In javascript, a variable is created when you combine the word let with the data that you are trying to decipher. In order to initialize [&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-3530","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\/3530","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=3530"}],"version-history":[{"count":1,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/3530\/revisions"}],"predecessor-version":[{"id":3539,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/3530\/revisions\/3539"}],"wp:attachment":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/media?parent=3530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/categories?post=3530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/tags?post=3530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}