Front End Developer Mock Interview

Practice 30 Front End Developer interview questions covering HTML, CSS, JavaScript, frameworks, and performance optimization.

WRITTEN BY WILLIAM SWANSEN
QUESTION 11 OF 30

How has working with the 'this' keyword changed in JavaScript ES6?

As a front-end developer, you are expected to keep up with changes in your profession and stay current with the technologies you use. Being able to describe and discuss these is a key element of any interview. You may also want to formulate opinions as to whether these changes are beneficial and be able to describe how they impact the work you do.

"Fundamentally, working with the 'this' keyword in JavaScript ES6 hasn't changed that much at all. What has changed are the rules for scoping and how specific the variables are. These changes were made to correct the vagueness around which 'this' references. By adding specificity and additional variables, 'this' is now easier to work with and requires less debugging."

William Swansen
30 QUESTIONS & ANSWERS · FRONT END DEVELOPER
See membership