Javascript
Javascript
Javascript
College of Engineering
INFORMATION TECHNOLOGY DEPARTMENT
Submitted by:
Kent Edward A. Sabulao
Welniño Baclayo
Christian Caysido
Submitted to:
Mr. Benito Badilla
1
TABLE OF CONTENTS
I. Introduction………………………………………………………………………..3
II. Inventors…………………………………………………………………………..5
IV. Purpose……………………………………………………………………………9
VI. Conclusion/Review/Recommendation…….…………………………………….13
VIII. References……………………………………………………………………….15
IX.
2
I. INTRODUCTION
essential role in web development. As the programming language of the Web, JavaScript
like complex animations, clickable buttons, and popup menus. Renowned for its
versatility, JavaScript transcends the confines of web browsers, finding utility in diverse
facilitating seamless integration with various host environments such as web browsers.
essential objects and language elements, JavaScript empowers developers with a rich
toolset for crafting sophisticated applications. Moreover, its dual nature as both an
to diverse development needs. On the client side, JavaScript augments the core language
responsive interfaces. Conversely, server-side JavaScript equips developers with tools for
3
application functionality and scalability. This duality underscores JavaScript's versatility,
distinguishes itself through its dynamic nature and liberal syntax. Unlike Java's stringent
type declarations and rigid class hierarchies. This flexibility simplifies development,
sparing developers from concerns about access modifiers and interface implementations.
Thus, while JavaScript and Java share similarities, their fundamental differences
underscore each language's unique strengths and suitability for distinct programming
paradigms.
4
II. INVENTORS
stands as the visionary behind the inception of JavaScript in 1995. During his tenure at
a scripting language that would revolutionize web development. His endeavor culminated
empower web developers with the ability to infuse their websites with interactive
elements and dynamic content. Eich's pioneering work laid the foundation for a new era
of web development, ushering in a paradigm shift in how websites were designed and
experienced.
As the primary creator of JavaScript, Eich's expertise and ingenuity were pivotal
in shaping the language into the influential force it became. While leading the
Marc Andreessen, co-founder of Netscape, and other talented members of the Netscape
development team. Together, they worked tirelessly to refine and enhance JavaScript,
leveraging their collective expertise to overcome technical challenges and push the
boundaries of web innovation. However, it was Eich's singular vision and unwavering
dedication that propelled JavaScript from concept to reality, cementing its status as the
Navigator, the language continued to evolve under the stewardship of the Mozilla
Foundation. Eich's enduring commitment to advancing web technologies led him to co-
5
found the Mozilla project, the Mozilla Foundation, and the Mozilla Corporation. Despite
contributions to the technology landscape remain indelible. His legacy as the creator of
JavaScript endures, underscoring the profound impact of his work on shaping the digital
6
III. DETAILED HISTORY
Originally named Mocha, then LiveScript, and finally settling on JavaScript, this
language was meant to bring life to static HTML pages by adding dynamic and
interactive elements. JavaScript found its first home in Netscape Navigator, the top
browser at the time. Its simplicity and the lack of alternatives led Microsoft to quickly
adopt it for Internet Explorer. Over time, JavaScript became a cornerstone of web
development, powering everything from online games to interactive menus and forms.
However, plans to evolve the language with ECMAScript 4 in 2002 were scrapped due to
Since it was first released in 1995, the JavaScript language has undergone a
number of revisions, each of which has contributed new features and syntax.
7
ES7 ECMAScript 2016 2016 Added:
• Block scope for variable
• async/await
• Array.includes fuction
• Exponentiation Operator
ES8 ECMAScript 2017 2017 Added:
• Object.values
• Object.entries
• Object.getOwnPropertiesDescription
8
IV. PURPOSE
JavaScript was invented to add interactivity and dynamic behavior to web pages.
When the World Wide Web was still in its infancy, web pages were mostly static,
web pages that respond to user actions without needing to reload the entire page from the
change the content, structure, and style of a web page in response to user
2. Handle User Events: JavaScript can respond to user actions such as clicks,
3. Perform Client-Side Validation: JavaScript can validate user input on the client
side before submitting it to the server, providing immediate feedback to users and
fetch data and update parts of a web page without requiring a full page reload.
9
5. Create Cookies and Local Storage: JavaScript can store data on the client-side
10
JavaScript is widely utilized by programmers globally to craft dynamic and
engaging web content such as applications and browsers. It's incredibly popular, being
the primary programming language for 97.0% of websites. Unlike server-side languages,
within the web browser. It's not limited to web development; JavaScript is versatile and
finds application in various domains, including software, hardware controls, and servers.
Due to its native integration with web browsers, JavaScript is renowned for its
JavaScript makes web pages dynamic. Before JavaScript, web pages were built only with
HTML and CSS. HTML and CSS are only capable of creating static pages that can be
styled but not interactive aside from hyperlinks. Some of the most popular websites are
Building Applications
apps for mobile and web. Frameworks are libraries of pre-written JavaScript code that
developers use for standard features. You can think of a JavaScript framework like a
blueprint. Facebook built React and React Native, which are currently powering some of
the world’s most powerful social media applications. React is used by websites like Uber,
Pinterest, Netflix, Instagram, Amazon, Twitter, Udemy, and more. Facebook, Instagram,
11
Shopify, Words with Friends, Skype, Pinterest, Discord, Tesla, and Uber Eats use React
Native.
create 2D and 3D puzzles, role-playing games, racing games, platform games, and more.
There are hundreds of JavaScript game engines that provide frameworks for buidling
games, and many are free and open-source. The most popular game engines include
Angry Birds
2048
Little Alchemy
Polycraft
HexGL
CrossCode
Bejeweled
12
VI. CONCLUSION / REVIEW / RECOMMENDATION:
revolutionizing the digital landscape with its dynamic capabilities and versatility.
Originally conceived to breathe life into static web pages, JavaScript has evolved into the
worldwide. Its role extends far beyond web browsers, finding applications in software,
marking a pivotal moment in web history. Eich's pioneering efforts, coupled with
The language's dynamic nature and liberal syntax have facilitated its widespread
and engaging games with ease. JavaScript's continuous evolution, marked by successive
versions and updates, has expanded its capabilities, introducing new features and syntax
experiences, build robust applications, and unleash creativity in web development. Its
ubiquitous presence underscores its indispensable role in shaping the digital experiences
of billions of users across the globe, ensuring JavaScript remains a driving force in the
13
VII. SAMPLE CODE
// take input
let number1 = prompt('Enter a first positive integer: ');
let number2 = prompt('Enter a second positive integer: ');
Sample Output:
14
REFERENCES:
1. https://www.w3schools.com/js/default.asp
2. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Introduction
3. https://www.geeksforgeeks.org/introduction-to-javascript/
4. https://www.w3schools.com/js/js_history.asp#:~:text=JavaScript%20was
%20invented%20by%20Brendan,JavaScript%20for%20the%20Firefox
%20browser.
5. https://en.wikipedia.org/wiki/Brendan_Eich
6. https://www.geeksforgeeks.org/history-of-javascript/
7. https://www.geeksforgeeks.org/javascript-versions/
8. https://www.lighthouselabs.ca/en/blog/what-is-javascript-used-
for#:~:text=Javascript%20is%20used%20by%20programmers,by
%2097.0%25%20of%20all%20websites.
15