Ref Javascript: all words
61 words in 9 lists. Listen, read the examples, then train a list.
1
9 words Train this list PDF- program /ˈprəʊɡræm/ A set of instructions specifying operations for a computer to carry out. A program is a list of instructions for the computer.
- statement /ˈsteɪtmənt/ A unit of program instruction, such as an assignment, method call, selection or loop; not every kind ends with a semicolon. Each line, such as print("Hi"), is a statement.
- console /ˈkɒnsəʊl/ The output area where console.log displays values and messages while a program runs. console.log() prints text to the console.
- case-sensitive /keɪs ˈsensɪtɪv/ Distinguishing uppercase from lowercase letters in names, so name and Name can identify different bindings. A case-sensitive name treats Count and COUNT as different.
- comment /ˈkɒment/ Explanatory text in source code or markup that does not execute as a program instruction. A comment starts with # and the computer ignores it.
- style /staɪl/ Conventions for formatting and naming code so that people can read it consistently. Good style makes code easy to read.
- indent /ˌɪnˈdent/ Add space at the start of a code line to show its nesting within a block. Indent the inner tags so the code is easy to read.
- camelCase /ˈkæml keɪs/ A naming style that starts with a lowercase word and capitalises each following word, as in firstName. In camelCase, firstName starts each new word with a capital.
- backslash /ˈbækslæʃ/
2
8 words Train this list PDF- variable /ˈveərɪəbl/ A named binding used to refer to a value; let permits reassignment, while const prevents it. A variable stores a value that can change.
- assign /əˈsaɪn/ Store a value through a writable variable or property, using the assignment operator. Assign a value with =: let x = 5.
- operator /ˈɒpəreɪtə/ Symbols or keywords specifying operations to perform on values or expressions. The symbols + and - are each an operator.
- remainder /rɪˈmeɪndə/ The amount left after division into equal whole groups, or the residual expression after algebraic division. 14 divided by 5 leaves a remainder of 4.
- random /ˈrændəm/ Describing outcomes governed by chance rather than being individually predictable with certainty. Decay is random: we cannot say which nucleus decays next.
- type /taɪp/ A classification of a JavaScript value, such as number, string, Boolean, object or function. The number 8 has the type int.
- convert /kənˈvɜːt/ Produce a value in another representation or type, such as Number("5") producing the number 5. Convert text to a number with Number("5").
- short form /ʃɔːt fɔːm/
3
8 words Train this list PDF- string /strɪŋ/ A sequence of characters treated as a single data value. Hello is a string.
- character /ˈkærɪktə/ A text unit such as a letter, digit, punctuation mark or other symbol. A is a single character.
- index /ˈɪndeks/ A zero-based position; JavaScript string indexing counts UTF-16 code units. Use index 3 to read the third item in the array.
- immutable /ɪˈmjuːtəbl/ Unable to have its value or state changed after creation. Strings are immutable: you cannot change one letter in place.
- concatenation /kənˌkætəˈneɪʃn/ Joining sequences, such as strings, end to end. Concatenation joins "Hello" and "World".
- method /ˈmeθəd/ A function accessed as a property of a value or object, such as a string’s toUpperCase method. upper() is a string method: "hi".upper() gives "HI".
- template literal /ˈtempleɪt ˈlɪtərəl/ A string form written with backticks that can include evaluated expressions in dollar-brace placeholders. A template literal uses backticks: `Hi ${name}`.
- expression /ekˈspreʃn/ A combination of values, variables and operators representing a quantity or a value to be evaluated. 2 + 3 - 1 is an expression with the value 4.
4
8 words Train this list PDF- Boolean /ˈbuːlɪən/ A logical value that is either true or false. A Boolean is either True or False.
- comparison /kəmˈpærɪsn/ An expression comparing values and yielding true or false under JavaScript’s comparison rules. The comparison 5 > 3 gives True.
- logical operator /ˈlɒdʒɪkl ˈɒpəreɪtə/ An operator such as &&, || or ! used to combine or negate tests; && and || return selected operand values. && is a logical operator meaning AND.
- block /blɒk/ A group of statements enclosed in curly braces, often used as the body of a selection, loop or function. A block is the code inside curly braces { }.
- condition /kənˈdɪʃn/ An expression tested to choose control flow; JavaScript treats its value as truthy or falsy. The condition x > 10 decides whether the if block runs.
- branch /bræntʃ/ One possible path through a selection structure, such as an if or else body. Each branch of an if statement does something different.
- falsy /ˈfɒlsi/
- truthy /ˈtruːθi/
5
5 words Train this list PDF- loop /luːp/ A structure that repeats a sequence of instructions. The loop runs ten times.
- iteration /ˌɪtəˈreɪʃn/ One execution of a loop body. A loop is a kind of iteration.
- accumulator /əˈkjuːmjʊleɪtə/ A variable holding a running result, such as the sum collected as a loop visits values. The answer to the sum goes into the accumulator.
- infinite loop /ˈɪnfɪnət luːp/ A loop that continues indefinitely because its stopping condition is never reached or no stopping condition is provided. while True: with no break makes an infinite loop.
- trace table /treɪs ˈteɪbl/ A table recording variable values and outputs as an algorithm's steps are followed.
6
8 words Train this list PDF- function /ˈfʌŋkʃn/ A callable piece of code that can receive arguments and return a value; it need not have an explicit name. A function returns a value.
- call /kɔːl/ Invoke a callable value with an argument list in parentheses so that its code executes. To call the function, write its name with brackets: greet().
- parameter /pəˈræmɪtə/ A named place in a function’s definition that receives an argument value when the function is called. In function square(n), n is a parameter.
- argument /ˈɑːɡjuːmənt/ Values or references supplied to a function or procedure when it is called. In area(5), 5 is the argument.
- arrow function /ˈærəʊ ˈfʌŋkʃn/ A shorter way to write a function. An arrow function like (n) => n + 1 is a short way to write a function.
- scope /skəʊp/ The region of a program in which a particular name or binding can be accessed. The scope of a variable is where it can be used.
- local variable /ˈləʊkl ˈveərɪəbl/ A variable whose name is accessible only within a particular function, block or other limited scope. A local variable is used only inside its procedure.
- closure /ˈkləʊʒə/
7
4 words Train this list PDF- array /əˈreɪ/ An indexed collection of elements arranged in one or more dimensions. An array stores many values under one name.
- element /ˈelɪmənt/ An item stored at an indexed position in an array. Each element of the array holds one value.
- reference /ˈrefrəns/
- chain /tʃeɪn/
8
7 words Train this list PDF- object /ˈɒbdʒekt/ A collection of properties addressed by string or symbol keys, such as a pupil record. Each car in the game is an object.
- property /ˈprɒpəti/ A named part of an object that stores a value or provides access to one. Read a property with a dot: pupil.name.
- key /kiː/ A value used to identify or look up an associated item, such as a key in a dictionary or database. In ages["Tom"], "Tom" is the key.
- record /ˈrekɔːd/ A stored collection of information about an item, person or event. Each record in the school database holds one student's details.
- counter /ˈkaʊntə/ A device or variable that records how many events or items have occurred. The counter goes up by 1 each time.
- class /klæs/ A Java definition describing an object type's fields and methods, distinct from an instance created from that class.
- constructor /kənˈstrʌktə/ A special operation used to initialise a newly created object.
9
4 words Train this list PDF- error /ˈerə/ A problem represented by an error value or exception; a catch block can handle a thrown error. A missing bracket is an error that stops the program.
- spelling mistake /ˈspelɪŋ mɪˈsteɪk/ A mistyped word or identifier; using an undefined variable name can raise a ReferenceError. A spelling mistake like totl instead of total causes an error.
- logic error /ˈlɒdʒɪk ˈerə/ A mistake in an algorithm or program that produces an incorrect result despite valid syntax. A logic error gives the wrong answer but does not stop the program.
- input /ˈɪnpʊt/ A value, signal or resource supplied to a function, program, device or process. input() reads input that the user types.