Detailed introduction about the end face

巴扎黑
Release: 2017-06-11 14:07:24
Original
1889 people have browsed it

Overcoming the Closure Problem When I first learned JavaScript, I took many detours in learning closures. This time, I went back to sort out the basic knowledge. It is also a very big challenge to explain closure clearly. How important are closures? If you are new to front-end, I cannot tell you intuitively how ubiquitous closures are in actual development, but I can tell you that in front-end interviews, you must ask about closures. Interviewers often use their understanding of closures to determine the basic level of the interviewer. It is conservatively estimated that at least 5 out of 10 front-end interviewers will die on closures. But why are closures so important, yet so many people still don’t understand it? Is it because everyone is unwilling to learn? It’s really not the case. It’s just that most of the Chinese articles explaining closures that we found through searching did not explain closures clearly. Either it's superficial, it's incomprehensible, or it's just nonsense. Including myself, I once wrote a summary about closures. Looking back, I couldn’t bear to look at it [face covering]. Therefore, the purpose of this article is to explain closure clearly and clearly, so that readers can fully understand closure after reading it, instead of half-understanding. 1. Scope and scope chain in detail

1. Front-end advanced (4): Detailed illustration of scope chain and closure

Detailed introduction about the end face

#Introduction: When I first learned JavaScript, I took many detours in learning closures. This time, I went back to sort out the basic knowledge. It is also a very big challenge to explain closure clearly. How important are closures? If you are new to front-end, I cannot tell you intuitively how ubiquitous closures are in actual development, but I can tell you that in front-end interviews, you must ask about closures. Interviewers often use their understanding of closures to determine the basic level of the interviewer. It is conservatively estimated that at least 5 out of 10 front-end interviewers will die on closures. But why is closure so important...

2. Web front-end interview question No. 8 - Absolute positioning and relative positioning

Detailed introduction about the end face

#Introduction: relative positioning (relative): Let’s talk about relative positioning first: just like its name, relative, there must be a reference object, but this A reference is nothing but its own position in the original document flow. The object after relative positioning is not completely separated from the document flow. The original position of the object in the document is retained (standing in the toilet without shitting), and the offset object will cover other layers. The relative positioning characteristics are summarized as follows: ① For relatively positioned elements, if the width is not set, the width is the width of the entire browser, or it depends on the width of the parent element. ②Relative positioning...

3. Summary of a JavaScript interview question that many front-end programmers often ignore

Detailed introduction about the end face

Introduction: Preface: I just resigned a few years ago. Let me share an interview question I once asked. This question is the last of a set of front-end interview questions I asked. One question is used to test the interviewer's comprehensive ability in JavaScript. Unfortunately, in the past two years so far, almost no one has been able to answer it completely correctly. It is not that it is difficult but because most interviewers underestimate him. The title is as follows: function Foo() { getName = function () { alert (1); }; return this; } Foo.getName = fun..

4. Front end Summary of interview experience

Detailed introduction about the end face

Introduction: Interview 3 Do today’s things today, share gluten, and make progress together. I'm sweating a lot, come on. I have forgotten some parts, so I will write whatever I remember, which may be a bit confusing. The first part: 1. Structure of URL URI—Universal Resource Identifier Universal Resource Identifier Every kind of universal resource identifier available on the Web...

5. Front-end Basics Advanced ( 4): Detailed illustration of scope chain and closure

Detailed introduction about the end face

Introduction: When I first learned JavaScript, I took many detours in learning closures. This time, I went back to sort out the basic knowledge. It is also a very big challenge to explain closure clearly. How important are closures? If you are new to front-end, I cannot tell you intuitively how ubiquitous closures are in actual development, but I can tell you that in front-end interviews, you must ask about closures. Interviewers often use their understanding of closures to determine the basic level of the interviewer. It is conservatively estimated that at least 5 out of 10 front-end interviewers will die on closures. But why are closures so important, yet so many people still don’t understand it? Is it because everyone is unwilling to learn? It’s really not, but most of the ones we found through searching that explain closures

6. Everything you want to know about this is here

Detailed introduction about the end face

Introduction: Whether in the daily use of javascript or in the front-end interview process, this has a very high appearance rate. This undoubtedly illustrates the importance of this. But this is very flexible, which makes many people find the behavior of this difficult to understand. This article starts with why this is necessary and summarizes the six rules of this. I hope it can help you answer your confusion.

7. Front-end interview FAQ

Detailed introduction about the end face

# #Introduction: Introducing the common questions and reference answers when interviewing front-end engineers. You can think about these questions in your spare time

##8.

Logical thinking interview questions-java backend Interview

Detailed introduction about the end face

Introduction: Logical thinking interview questions-java backend interview

9.

The ten most frequently asked JavaScript front-end interview questions

Introduction: The ten most frequently asked JavaScript front-end interview questions

10.

Front-end interview questions (HTML/CSS) of major Internet companies

Detailed introduction about the end face

Introduction: Front-end interview questions (HTML/CSS) of major Internet companies

[Related Q&A recommendations]:

##javascript - Youdao front-end interview question: How to add two very large numbers?

javascript - An algorithm question for the front-end interview

javascript - An algorithm question for the front-end interview

javascript - Front-end interview questions: Which js variables cannot be used as objects?

javascript - A front-end interview question that requires no third-party js library, innerhtml and eval. How to fill the original DOM with real data?

The above is the detailed content of Detailed introduction about the end face. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template