Please enable JavaScript.
Coggle requires JavaScript to display documents.
DODATAK ("use strict"; (sprečava (upotrebu, undeclared,…
DODATAK
"use strict";
directive
JS code
executed
in strict mode
sprečava
upotrebu
undeclared
variables
extending
objects
bad
in terms of
changing
behaivoirs
narušavnje
ponašanja
app
other
developers
code
good
cleaner
code
arity
property
obsolite
Function.prototype.length
replace it
returns
number
arg
in function
UA
user agent
browser
string
karakteristike
browsera
hoisting
adding
declarations
functions
variables
in scanning phase of code
best
practise
declaration
on the top
scopes
difference
document load
byuilt in
JS
later
all
content
document ready
jQuery
after
HTML document
or DOM
loaded
constructed
between
attribute
can't
define
HTML
by
property
can
change
DOM
<<<
memoization
speed up
app
caching
result
input
if
asked
returns
cached
result
feature
detection
checking
if exists
reason
browser
different
implementation
inference
asumption
if
one
exists or not
then
other
exists or not