Girls Who Javascript - Meetup 10

This meetup is in Bangalore for women who write Javascript or who wish to learn Javascript

Meetup 10
Sunday, November 18, 2018
11:00 AM to 1:00 PM
Venue to be updated.

This meetup is in Bangalore for women who write Javascript or who wish to learn Javascript. Come discuss your work, interests, and ideas!
To join, visit https://www.meetup.com/Girls-Who-Javascript/

Hosted by

A meetup for women who write JavaScript (or who want to learn JavaScript). Come discuss your work, interests, and ideas! To join, visit https://www.meetup.com/Girls-Who-Javascript/ more

Anupama

@anuhosad

Understanding Javascript Quirks

Submitted Oct 29, 2018

Understanding JS language features behind quirky behaviours

Outline

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.

Speaker bio

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

Slides

https://slides.com/anuhosad/understanding-javascript-quirks/#/

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

A meetup for women who write JavaScript (or who want to learn JavaScript). Come discuss your work, interests, and ideas! To join, visit https://www.meetup.com/Girls-Who-Javascript/ more