Girls Who Javascript - Meetup 10
This meetup is in Bangalore for women who write Javascript or who wish to learn Javascript
Nov 2018
12 Mon
13 Tue
14 Wed
15 Thu
16 Fri
17 Sat
18 Sun 11:00 AM – 11:45 AM IST
Anupama
Understanding JS language features behind quirky behaviours
We have all come across the following quirky questions in quizzes or interviews:
var a = 20;
function foo() {
console.log(a)
var a = 10;
return function a() {}
}
// Outputs function a(){}
or
{} + [] = 0
[] + {} = "[object Object]"
{} + {} = NaN
({} + {}) = "[object Object][object Object]"
This talk is aimed at understanding the Javascript language features behind such behaviour such as hoisting, automatic type conversion for various operators, ToPrimitive
internal algorithm to name a few.
Hi, I am Anupama. I work as a UI engineer in Unbxd where I am part of the team that is building a new product
https://slides.com/anuhosad/understanding-javascript-quirks/#/
Hosted by
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}