Skip to content

Ref Javascript: all words

61 words in 9 lists. Listen, read the examples, then train a list.

Train all words

1

9 words Train this list PDF
  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. style /staɪl/ Conventions for formatting and naming code so that people can read it consistently. Good style makes code easy to read.
  7. 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.
  8. 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.
  9. backslash /ˈbækslæʃ/

2

8 words Train this list PDF
  1. 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.
  2. assign /əˈsaɪn/ Store a value through a writable variable or property, using the assignment operator. Assign a value with =: let x = 5.
  3. operator /ˈɒpəreɪtə/ Symbols or keywords specifying operations to perform on values or expressions. The symbols + and - are each an operator.
  4. 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.
  5. 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.
  6. type /taɪp/ A classification of a JavaScript value, such as number, string, Boolean, object or function. The number 8 has the type int.
  7. 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").
  8. short form /ʃɔːt fɔːm/

3

8 words Train this list PDF
  1. string /strɪŋ/ A sequence of characters treated as a single data value. Hello is a string.
  2. character /ˈkærɪktə/ A text unit such as a letter, digit, punctuation mark or other symbol. A is a single character.
  3. 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.
  4. immutable /ɪˈmjuːtəbl/ Unable to have its value or state changed after creation. Strings are immutable: you cannot change one letter in place.
  5. concatenation /kənˌkætəˈneɪʃn/ Joining sequences, such as strings, end to end. Concatenation joins "Hello" and "World".
  6. 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".
  7. 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}`.
  8. 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
  1. Boolean /ˈbuːlɪən/ A logical value that is either true or false. A Boolean is either True or False.
  2. 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.
  3. 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.
  4. 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 { }.
  5. 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.
  6. 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.
  7. falsy /ˈfɒlsi/
  8. truthy /ˈtruːθi/

5

5 words Train this list PDF
  1. loop /luːp/ A structure that repeats a sequence of instructions. The loop runs ten times.
  2. iteration /ˌɪtəˈreɪʃn/ One execution of a loop body. A loop is a kind of iteration.
  3. 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.
  4. 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.
  5. 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
  1. 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.
  2. 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().
  3. 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.
  4. argument /ˈɑːɡjuːmənt/ Values or references supplied to a function or procedure when it is called. In area(5), 5 is the argument.
  5. 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.
  6. 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.
  7. 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.
  8. closure /ˈkləʊʒə/

7

4 words Train this list PDF
  1. array /əˈreɪ/ An indexed collection of elements arranged in one or more dimensions. An array stores many values under one name.
  2. element /ˈelɪmənt/ An item stored at an indexed position in an array. Each element of the array holds one value.
  3. reference /ˈrefrəns/
  4. chain /tʃeɪn/

8

7 words Train this list PDF
  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. counter /ˈkaʊntə/ A device or variable that records how many events or items have occurred. The counter goes up by 1 each time.
  6. class /klæs/ A Java definition describing an object type's fields and methods, distinct from an instance created from that class.
  7. constructor /kənˈstrʌktə/ A special operation used to initialise a newly created object.

9

4 words Train this list PDF
  1. 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.
  2. 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.
  3. 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.
  4. input /ˈɪnpʊt/ A value, signal or resource supplied to a function, program, device or process. input() reads input that the user types.

Log in or create account

IGCSE, A-Level & AP