LEARNING JAVASCRIPT - Trang 362

truthy values,

89

try…catch statements,

170

,

173

two-way communication (generators),

180

typeof operator,

95

,

128

,

170

typeof v,

188

typographical conventions,

xviii

U

unary addition operator (+),

82

unary negation operator (-),

82

uncaught exceptions,

172

undefined types,

45

underscore character (_),

35

,

152

unhandled exceptions,

172

Unicode characters,

35

,

40

,

41

unique IDs (HTML),

261

unique tokens,

45

unsettled promises,

211

unshift method (arrays),

133

user input, asynchronous nature of,

12

,

199

UTC (Coordinated Universal Time),

220

V

value types,

107

valueOf() method,

53

values,

147

values() method (maps),

164

var keyword,

125

variable masking,

121

variables

vs. arguments,

105

changing contents of,

37

,

106

vs. constants,

37

declaration vs. definition of,

117

declaring,

33

declaring multiple,

34

,

71

i (index),

65

,

77

internal,

36

vs. literals,

37

masking,

121

(see also scope)

naming conventions,

35

shadowing,

123

undefined,

34

,

71

,

104

version control,

18

-

21

Version Control with Git (Loeliger),

21

vi/vim text editor,

3

visibility,

118

(see also scope)

Visual Studio,

3

,

24

void operator,

96

W

W3C website,

311

WeakMap object,

52

,

152

,

165

WeakSet object,

52

,

167

Web 2.0,

271

Web Development with Node and Express

(Brown),

311

web servers,

297

WHATWG,

311

while loops,

59

-

61

while statements,

70

whitespace,

60

,

74

,

244

windowed editors,

3

word boundaries (regexes),

253

word completion,

4

write streams,

295

X

Xcode,

3

XMLHttpRequest,

271

Y

yield expressions,

180

338 | Index