JavaScript Language
1 AC2070: Web Design & Programming
Đào Trung Kiên @ MICA Institute & Dept. of Comm. Eng., SEEE, Hanoi Univ. of Science and Technology
Introduction
JS is a cross-platform, object-oriented scripting language
originally used to make webpages interactive
But nowadays, JS is largely used to:
Program servers
Program PC applications
Program mobile applications
Advantages:
No compilation → quick development process
Simplicity
Unified language to program everything
Asynchronous IO
Modern programming model
2 AC2070: Web Design & Programming
Đào Trung Kiên @ MICA Institute & Dept. of Comm. Eng., SEEE, Hanoi Univ. of Science and Technology
Contents
Data types, variables and expressions
var, let, const
null, undefined
Strings, arrays, objects
String substitution
typeof, instanceof
Control statements
Functions
Arrow functions and functional programming
Async functions
Object and array destructuring
3 AC2070: Web Design & Programming
Đào Trung Kiên @ MICA Institute & Dept. of Comm. Eng., SEEE, Hanoi Univ. of Science and Technology
Resources
[Link]
[Link]
US/docs/Web/JavaScript/Guide/Introduction
4 AC2070: Web Design & Programming
Đào Trung Kiên @ MICA Institute & Dept. of Comm. Eng., SEEE, Hanoi Univ. of Science and Technology