Skip to content Skip to sidebar Skip to footer
Showing posts with the label Strict

Why Is Indexof(char) Is 0 If The Value Exists?

Why is firstHalf.indexOf(secondHalfArr[i]) 0? Solution 1: The indexOf() method returns the positi… Read more Why Is Indexof(char) Is 0 If The Value Exists?

How Is Javascript's Strict Mode Implemented

Update: Perhaps the way the function is called is to blame, so here's to it: 2 JS files  Main.… Read more How Is Javascript's Strict Mode Implemented

In Ecmascript5, What's The Scope Of "use Strict"?

What scope does the strict mode pragma have in ECMAScript5? 'use strict'; I'd like to … Read more In Ecmascript5, What's The Scope Of "use Strict"?