LEARNING JAVASCRIPT - Trang 360

anchoring,

253

backreferences,

249

benefits of,

237

character sets and,

243

concept of,

240

constructing,

238

constructing dynamically,

255

constructing subexpressions,

247

escaping characters,

246

function replacements,

251

input consumption,

240

-

242

key point,

256

lazy vs. greedy matches,

248

limitations of,

242

lookaheads,

254

match anything except newlines,

246

match anything including newlines,

246

matching HTML,

242

metalanguage,

239

named character sets (abbreviations),

244

negating (ignoring) characters,

244

regex testers,

256

repetition metacharacters,

245

replacing groups,

250

replacing with,

239

searching with,

239

specifying ranges,

243

substring matching/replacing,

237

troubleshooting,

248

,

251

word boundary matching,

253

relational operators,

86

remainder operator (%),

82

repetition modifiers (regexes),

245

,

249

repetition, avoiding,

10

,

188

repetitive tasks, automating,

10

,

23

repositories, initializing (Git),

18

reserved words,

35

,

317

-

319

resources

blogs and tutorials,

312

online documentation,

311

open source projects,

315

periodicals,

312

Stack Overflow,

313

return keyword,

104

return statements,

68

,

182

return values,

104

reusable subroutines,

184

reverse method (arrays),

135

Ritchie, Dennis,

1

routines,

183

running functions,

103

S

Safari Books Online,

xix

Scheme language,

xvi

scope

asynchronous execution and,

202

block,

121

closure and,

123

,

202

defined,

117

vs. existence,

118

function hoisting,

127

function scope and hoisting,

125

global,

119

,

123

IIFEs and,

124

lexical,

123

lexical vs. dynamic,

118

nested,

122

scope chains,

123

strict mode and,

128

,

304

temporal dead zone and,

127

variable masking,

121

sealing,

305

search and replace functionality,

237

searching arrays,

136

seeded pseudorandom numbers,

234

seedrandom.js,

234

Self language,

xvi

Set object

vs. arrays,

52

assigning multiple items with,

166

set() method (maps),

163

setInterval,

201

sets, defined,

166

setter function,

301

setTimeout,

200

shadowing, of variables,

123

Sharkie, Craig,

280

shell (terminal interface),

17

shift method (arrays),

133

short-circuit evaluation,

91

,

101

side effects,

91

,

185

signatures (of functions),

107

Simpson, Kyle,

214

simulations,

55

single inheritance,

159

single quote ('),

40

single-threaded applications,

199

336 | Index

Liên Kết Chia Sẽ

** Đây là liên kết chia sẻ bới cộng đồng người dùng, chúng tôi không chịu trách nhiệm gì về nội dung của các thông tin này. Nếu có liên kết nào không phù hợp xin hãy báo cho admin.