100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Summary

Samenvatting Web 2

Rating
-
Sold
-
Pages
16
Uploaded on
05-10-2021
Written in
2020/2021

Samenvatting van code en informatie over het van Web 2. Ecmascript 6, Callbacks, Promises, Async/Await, Fetch, CSS flex and Grid, Express, node, rpm, Full Stacked JavaScript,..

Institution
Course










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
October 5, 2021
Number of pages
16
Written in
2020/2021
Type
Summary

Subjects

Content preview

Ecmascript 6

ES5 –‘use strict’
• Placed at the top of a file
• Executes the browser in ‘strict’ mode
• Easier to write safe javascript
• Feedback on errors
• Remove bad practices

Hoisting principle




Standard behaviour by javascript to place all declarations to the top of the current scope

Let




• New way to declare variables
• Hoisting is not applied
• Easier to detect bad code or errors




No hoisting is applied so teacherSalary is unknown. This does not crash because the code is
executed AFTER the declaration.

,Const




• New way to declare constants
• Hoisting is not applied
• Easier to detect bad code or error




Template Literals
• New and easier way of concatenating strings
• Use the backtick instead of single quotes.
• Backtick: ``
• Single quote: ‘’

Template literal: ${expression}

, Destructuring
Allows the retrieval of values from an array on the left side of the statement.




Object destructuring




Object destructuring function




Destructing the function moveCourse will result in a broken version.
Keyword ‘this’ does not point to the object.
$9.55
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
alexmenzies

Get to know the seller

Seller avatar
alexmenzies Erasmushogeschool Brussel
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
4 year
Number of followers
1
Documents
5
Last sold
4 year ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions