|
1 | | -## JS Questions |
2 | | - |
3 | | -Answers to [Front-end Job Interview Questions - JS Questions](https://github.com/h5bp/Front-end-Developer-Interview-Questions/blob/master/questions/javascript-questions.md). Pull requests for suggestions and corrections are welcome! |
4 | | - |
5 | | -* [Explain event delegation](#explain-event-delegation) |
6 | | -* [Explain how `this` works in JavaScript](#explain-how-this-works-in-javascript) |
7 | | -* [Explain how prototypal inheritance works](#explain-how-prototypal-inheritance-works) |
8 | | -* [What do you think of AMD vs CommonJS?](#what-do-you-think-of-amd-vs-commonjs) |
9 | | -* [Explain why the following doesn't work as an IIFE: `function foo(){ }();`. What needs to be changed to properly make it an IIFE?](#explain-why-the-following-doesnt-work-as-an-iife-function-foo--what-needs-to-be-changed-to-properly-make-it-an-iife) |
10 | | -* [What's the difference between a variable that is: `null`, `undefined` or undeclared? How would you go about checking for any of these states?](#whats-the-difference-between-a-variable-that-is-null-undefined-or-undeclared-how-would-you-go-about-checking-for-any-of-these-states) |
11 | | -* [What is a closure, and how/why would you use one?](#what-is-a-closure-and-howwhy-would-you-use-one) |
12 | | -* [Can you describe the main difference between a `.forEach` loop and a `.map()` loop and why you would pick one versus the other?](#can-you-describe-the-main-difference-between-a-foreach-loop-and-a-map-loop-and-why-you-would-pick-one-versus-the-other) |
13 | | -* [What's a typical use case for anonymous functions?](#whats-a-typical-use-case-for-anonymous-functions) |
14 | | -* [How do you organize your code? (module pattern, classical inheritance?)](#how-do-you-organize-your-code-module-pattern-classical-inheritance) |
15 | | -* [What's the difference between host objects and native objects?](#whats-the-difference-between-host-objects-and-native-objects) |
16 | | -* [Difference between: function `Person(){}`, `var person = Person()`, and `var person = new Person()`?](#difference-between-function-person-var-person--person-and-var-person--new-person) |
17 | | -* [What's the difference between `.call` and `.apply`?](#whats-the-difference-between-call-and-apply) |
18 | | -* [Explain `Function.prototype.bind`.](#explain-functionprototypebind) |
19 | | -* [When would you use `document.write()`?](#when-would-you-use-documentwrite) |
20 | | -* [What's the difference between feature detection, feature inference, and using the UA string?](#whats-the-difference-between-feature-detection-feature-inference-and-using-the-ua-string) |
21 | | -* [Explain Ajax in as much detail as possible.](#explain-ajax-in-as-much-detail-as-possible) |
| 1 | +## Mga Tanong sa JS |
| 2 | + |
| 3 | +Mga Sagot sa [Mga Tanong sa Pakikipanayam sa Trabahong Pangfront-end - Mga Tanong sa JS](https://github.com/h5bp/Front-end-Developer-Interview-Questions/blob/master/questions/javascript-questions.md). Ang mga pull request para sa mga suhestyon at koreksyon ay malugod na tatanggapin |
| 4 | + |
| 5 | +* [Ipaliwanag ang delegasyon ng kaganapan](#explain-event-delegation) |
| 6 | +* [Ipaliwanag kung paano gumagana ang `this` na ito sa JavaScript](#explain-how-this-works-in-javascript) |
| 7 | +* [Ipaliwanag kung paano gumagana ang prototypal na pagmamana](#explain-how-prototypal-inheritance-works) |
| 8 | +* [Ano ang iyong naiisip sa AMD laban sa CommonJS?](#what-do-you-think-of-amd-vs-commonjs) |
| 9 | +* [Ipaliwanag kung bakit ang mga sumusunod ay hindi gumagana bilang isang IIFE: `function foo () {} ();`. Ano ang kailangang baguhin upang gawing maayos itong IIFE?](#explain-why-the-following-doesnt-work-as-an-iife-function-foo--what-needs-to-be-changed-to-properly-make-it-an-iife) |
| 10 | +* [Ano ang kaibahan sa pagitan ng isang variable na: `null`,` undefined` o hindi naipahayag? Paano mo gagawin ang pag-check para sa alinman sa mga kalagayang ito?](#whats-the-difference-between-a-variable-that-is-null-undefined-or-undeclared-how-would-you-go-about-checking-for-any-of-these-states) |
| 11 | +* [Ano ang pagsasara, at paanoo bakit mo gagamitin ang isa sa mga ito?](#what-is-a-closure-and-howwhy-would-you-use-one) |
| 12 | +* [Mailalarawan mo ba ang pangunahing pagkakaiba sa pagitan ng isang `.forEach` na loop at isang `. Map () ` na loop at kung bakit gusto mong pumili ng isa kumpara sa iba pa?](#can-you-describe-the-main-difference-between-a-foreach-loop-and-a-map-loop-and-why-you-would-pick-one-versus-the-other) |
| 13 | +* [Ano ang isang tipikal na kaso ng paggamit para sa mga hindi kilalang punksyon?](#whats-a-typical-use-case-for-anonymous-functions) |
| 14 | +* [Paano mo inaayos ang iyong code? (modular na pattern, makalumang paagmamana?)](#how-do-you-organize-your-code-module-pattern-classical-inheritance) |
| 15 | +* [Ano ang pagkakaiba sa pagitan ng mga host na bagay at mga katutubong bagay?](#whats-the-difference-between-host-objects-and-native-objects) |
| 16 | +* [Kaibahan sa pagitan ng: punksyon na `Person(){}`, `var person = Person()`, and `var person = new Person()`?](#difference-between-function-person-var-person--person-and-var-person--new-person) |
| 17 | +* [Ano ang pagkakaiba sa pagitan ng `.call` at` .apply`?](#whats-the-difference-between-call-and-apply) |
| 18 | +* [Ipaliwanag ang `Function.prototype.bind`.](#explain-functionprototypebind) |
| 19 | +* [Kelan ka gagamit ng `document.write()`?](#when-would-you-use-documentwrite) |
| 20 | +* [Ano ang kaibahan sa pagitan ng pagtukoy na tampok, tampok na pagkakilala, at paggamit ng UA na string?](#whats-the-difference-between-feature-detection-feature-inference-and-using-the-ua-string) |
| 21 | +* [Ipaliwanag ang Ajax sa mas detalyadong pamamaraan hangga't maaari.](#explain-ajax-in-as-much-detail-as-possible) |
22 | 22 | * [What are the advantages and disadvantages of using Ajax?](#what-are-the-advantages-and-disadvantages-of-using-ajax) |
23 | 23 | * [Explain how JSONP works (and how it's not really Ajax).](#explain-how-jsonp-works-and-how-its-not-really-ajax) |
24 | 24 | * [Have you ever used JavaScript templating? If so, what libraries have you used?](#have-you-ever-used-javascript-templating-if-so-what-libraries-have-you-used) |
|
0 commit comments