1. Look Up Javascript on
Mobile
var context = context || {} // wrong!
for(var i=index;i<val;i++)
array[i] = someVal // wrong!
<button class=“someCoolDiv” onclick=“someCoolFunc()”>
<!— doesn’t matter you are still wrong! —>
</button>
2. • Hi! I am Dron Rathore
• NodeJS & Front End Automation
Lead at housing.com
About
me
3.
4. • var name = “Dron Rathore”
var designation =
"NodeJS Automation".replace(/(s+|$)/g, function(match){
return parseInt(match.charCodeAt(0))?" Lead, ":" Lead”
})
var myTask = “Pursue everyone to move to JS”
var interest = “Benchmark! Optimise! Repeat!”
var knowsAbout = “Anything that JS does and wherever it does!”
@heavenhackers
About me
dron.rathore
5. – D.R.
“If you don’t start respecting the Web, it will be doomed!”
6. • Less Memory
• Less CPU
• Less Interaction Area
• More Events
• Sensors & WebAPIs
Mobile Web — Javascript
Perspective
37. Tips of the Day
Never bind scroll Events, use touchstart and touchend
Listen on top most hierarchy1
Do not Bind too many handlers! Its Heavy!
Javascript is Single Threaded, have some respect!