user-profile-img

张志霄

@zhangzhixiao2017gt_h27rtc5d4• Mar 17, 2023open-state

ATASK goals - Google 文档

-

ATASK goals - Google 文档docs.google.com

user-profile-img

张志霄

@zhangzhixiao2017gt_h27rtc5d4• Jan 31, 2023open-state

Advantages of CBI

integrates

engaging

makes language more meaningful and relevant to the learner

-

No Titlechat.openai.com

user-profile-img

张志霄

@zhangzhixiao2017gt_h27rtc5d4• Dec 7, 2022open-state

MLA引用格式指南,再也不怕弄错论文格式!(已更新至MLA8)

According to

The authors claim that

argued

-

MLA引用格式指南,再也不怕弄错论文格式!(已更新至MLA8)www.simpletense.com

user-profile-img

张志霄

@zhangzhixiao2017gt_h27rtc5d4• Aug 3, 2022open-state

<meta>: The metadata element - HTML: HyperText Markup Language | MDN

declares the document's character encoding

"utf-8"

UTF-8 is the only valid encoding for HTML5 documents.

-

<meta>: The metadata element - HTML: HyperText Markup Language | MDNdeveloper.mozilla.org

user-profile-img

张志霄

@zhangzhixiao2017gt_h27rtc5d4• Jun 5, 2022open-state

ES6: Use the Spread Operator to Evaluate Arrays In-Place | freeCodeCamp.org

Use the Spread Operator to Evaluate Arrays In-Place

spread operator

expand arrays and other expressions in places where multiple parameters or elements are expected.

-

ES6: Use the Spread Operator to Evaluate Arrays In-Place | freeCodeCamp.orgwww.freecodecamp.org

user-profile-img

张志霄

@zhangzhixiao2017gt_h27rtc5d4• Jun 5, 2022open-state

ES6: Use the Rest Parameter with Function Parameters | freeCodeCamp.org

Rest Parameter with Function Parameters

(...args)

(...args)

-

ES6: Use the Rest Parameter with Function Parameters | freeCodeCamp.orgwww.freecodecamp.org

user-profile-img

张志霄

@zhangzhixiao2017gt_h27rtc5d4• Jun 4, 2022open-state

ES6: Set Default Parameters for Your Functions | freeCodeCamp.org

Default Parameters

-

ES6: Set Default Parameters for Your Functions | freeCodeCamp.orgwww.freecodecamp.org

user-profile-img

张志霄

@zhangzhixiao2017gt_h27rtc5d4• Jun 4, 2022open-state

ES6: Use Arrow Functions to Write Concise Anonymous Functions | freeCodeCamp.org

In JavaScript, we often don't need to name our functions, especially when passing a function as an argument to another function. Instead, we create inline functions. We don't need to name these functions because we do not reuse them anywhere else

ES6 provides us with the syntactic sugar to not have to write anonymous functions this way. Instead, you can use arrow function syntax:

When there is no function body, and only a return value, arrow function syntax allows you to omit the keyword return as well as the brackets surrounding the code. This helps simplify smaller functions into one-line statements:

-

ES6: Use Arrow Functions to Write Concise Anonymous Functions | freeCodeCamp.orgwww.freecodecamp.org

user-profile-img

张志霄

@zhangzhixiao2017gt_h27rtc5d4• Jun 4, 2022open-state

The Complete JavaScript Course 2022: From Zero to Expert! | Udemy

So always just put strict modein the beginning of your scriptsand like that write more secure code.And when secure, I mean that strict modemakes it easier for us developersto avoid accidental errors.So basically it helps us introduce the bugs into our codeand that's because of 2 reasons.First, strict mode forbids us to do certain thingsand second, it will actually create visible errors for usin certain situations in which without strict modeJavaScript will simply fail silentlywithout letting us know that we did a mistake.

and so I believe that you should do the same.

So always just put strict modein the beginning of your scriptsand like that write more secure code.And when secure, I mean that strict modemakes it easier for us developersto avoid accidental errors.So basically it helps us introduce the bugs into our codeand that's because of 2 reasons.First, strict mode forbids us to do certain things

-

The Complete JavaScript Course 2022: From Zero to Expert! | Udemywww.udemy.com

user-profile-img

张志霄

@zhangzhixiao2017gt_h27rtc5d4• Jun 3, 2022open-state

The Complete JavaScript Course 2022: From Zero to Expert! | Udemy

So in practice, the conversionto boolean is always implicit, not explicit,

or in other words is always typed coercionthat JavaScript does automatically behind the scenes.

But when exactly does JavaScript do type coercionto booleans?Well, it happens in two scenarios.First, when using logical operators, and second ina logical context, like for example,in the condition of an if else statement.

-

The Complete JavaScript Course 2022: From Zero to Expert! | Udemywww.udemy.com