{"id":3449,"date":"2023-02-27T21:42:57","date_gmt":"2023-02-28T02:42:57","guid":{"rendered":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/?p=3449"},"modified":"2023-02-27T21:42:57","modified_gmt":"2023-02-28T02:42:57","slug":"how-important-is-javascript-function-5b","status":"publish","type":"post","link":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/2023\/02\/27\/how-important-is-javascript-function-5b\/","title":{"rendered":"How Important is Javascript Function? 5b"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"n3VNCb pT0Scc KAlRDb\" src=\"https:\/\/www.programiz.com\/sites\/tutorial2program\/files\/javascript-function-with-parameter.png\" alt=\"JavaScript Function and Function Expressions (with Examples)\" width=\"686\" height=\"286\" data-noaft=\"1\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>A function in Javascript is a set of goals to be completed or calculate numbers quicker. One of the examples from class I liked was \u201cfunctions allow our code to be more maintainable an reusable!\u201d All functions in javascript need an input, relationship, and output such as name, \u201cpassed zero or more pieces of information,\u201d and \u201creturn a value\u201d I believe calling a function in javascript is just one big piece of code bundled together. According to a site called launch code education, \u201cFunctions are data and therefore can be passed around just like other values. This means a function can be passed to another function as an argument. This allows the function being called to use the function argument to carry out its action.\u201d My thoughts on this are if you create a function, you can reuse the function on a different project to save time because scripting takes a lot of time and patience. The \u201creturn\u201d keyword allows you to send back data to the function you created in the first place pretty much ends the execution and goes back to the function.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; A function in Javascript is a set of goals to be completed or calculate numbers quicker. One of the examples from class I liked was \u201cfunctions allow our code to be more maintainable an reusable!\u201d All functions in javascript need an input, relationship, and output such as name, \u201cpassed zero or more pieces of [&hellip;]<\/p>\n","protected":false},"author":29271,"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-3449","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\/3449","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\/29271"}],"replies":[{"embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/comments?post=3449"}],"version-history":[{"count":1,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/3449\/revisions"}],"predecessor-version":[{"id":3450,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/3449\/revisions\/3450"}],"wp:attachment":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/media?parent=3449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/categories?post=3449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/tags?post=3449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}