Software Development Terms Beginning with I
Idempotent
Section titled “Idempotent”An idempotent function produces the same result no matter how many times you pass it to itself.
For instance, suppose invoking myFunction(5)
returns 100
. In that case, myFunction
is idempotent if invoking myFunction(myFunction(5))
also outputs 100
.
if
Conditional Statement in JavaScript
Section titled “if Conditional Statement in JavaScript”The if conditional statement instructs the computer to execute a JavaScript code block only if a specified condition is true.
Ignore Case (RegExp)
Section titled “Ignore Case (RegExp)”The ignore case flag (i
) tells the computer to do a case-insensitive search for a RegExp pattern.
Immediately Invoked Function Expression (IIFE)
Section titled “Immediately Invoked Function Expression (IIFE)”An immediately invoked function expression (IIFE) is a function expression that invokes itself automatically.
import.meta
(ES Module)
Section titled “import.meta (ES Module)”The import.meta code is an object containing information about your current module.
Impure Function
Section titled “Impure Function”An impure function is a function that contains one or more side effects.
includes()
JavaScript Array Method
Section titled “includes() JavaScript Array Method”includes() checks if its calling array includes the method’s first argument.
includes()
JavaScript String Method
Section titled “includes() JavaScript String Method”includes() checks if its calling string includes the method’s first argument.
Index refers to the position of items.
For instance, an array object’s indexing starts at zero. In other words, the index of an array’s first item is 0
. The second value’s index is 1
. And the last item’s index is the array’s length
minus 1
.
Consider this array object:
["Blue", "White", "Pink", "Green"];
The index (positions) of the array items above are:
- Blue is at index 0
- White’s index is 1
- Pink’s index is 2
- Green is at index 3
indexOf()
JavaScript Array Method
Section titled “indexOf() JavaScript Array Method”indexOf() searches its calling array for the first occurrence of the method’s string argument.
indexOf()
JavaScript String Method
Section titled “indexOf() JavaScript String Method”indexOf() searches its calling string for the first occurrence of the method’s string argument.
Indices (RegExp)
Section titled “Indices (RegExp)”Regular expression’s indices flag (d
) tells the computer to include each capturing group’s start and end indices in the result of the matched RegExp pattern.
Inheritance
Section titled “Inheritance”Inheritance refers to a child receiving (inheriting) its parent’s features.
JavaScript implements inheritance by allowing objects to inherit another object’s prototype
property.
For instance, if you use the JavaScript new
keyword to create a new object instance. In that case, the newly created object will receive (inherit) its constructor’s prototype
property.
Initialization
Section titled “Initialization”Initialization occurs when you assign an initial value to a variable.
Inline CSS
Section titled “Inline CSS”Inline CSS styles an individual HTML element by adding a style attribute on the element’s opening tag.
Inner Function (JavaScript)
Section titled “Inner Function (JavaScript)”An inner function is a function defined inside a block, module, or another function.
Instance Property in JavaScript
Section titled “Instance Property in JavaScript”An instance property is a property the new
keyword will assign to the object instance it constructs from a constructor function or class.
Instantiation
Section titled “Instantiation”Instantiation means creating instances of an object from a constructor.
Instructing Language
Section titled “Instructing Language”An instructor directs the action of a page and its contents. For instance, JavaScript is a commanding language that commands the items of an HTML document.
Integer
Section titled “Integer”Integers are numbers without decimals.
Integration Test (TDD)
Section titled “Integration Test (TDD)”An integration test is a test written to assess the functionality of a dependent piece of program.
Interface
Section titled “Interface”An interface means connection.
Internal API Release Policy
Section titled “Internal API Release Policy”An internal API release policy allows publishing APIs for internal use only.
Internal CSS
Section titled “Internal CSS”Internal CSS styles an HTML page’s content by adding an HTML <style>
element in the <head>
section of the HTML document.
Internal Hardware
Section titled “Internal Hardware”Internal hardware is the internally connected elements of a machine that you will find inside the device’s casing.
Internet
Section titled “Internet”The internet is a means through which data get shared between two or more computers.
Internet Service Provider
Section titled “Internet Service Provider”An Internet Service Provider (ISP) is a company providing services that connect personal and business devices to the internet.
Inversion of Control
Section titled “Inversion of Control”Inversion of control (IoC) occurs when you transfer the control of your code’s execution to a third party.
The IoC programming principle commonly happens while writing a callback program—where you provide your function as an argument to a third-party’s function.
For instance, consider the JavaScript code below:
function bestColor(color) { console.log("My best color is " + color + ".");}
setTimeout(bestColor, 3000, "White");
In the snippet above, setTimeout()
is a third-party code that belongs to the browser’s Window
object. On the other hand, bestColor()
is our own code (a code we wrote ourselves).
Now, since we passed our code (bestColor()
) as an argument to a third party’s code (setTimeout()
). It implies that we’ve transferred the control of our function’s execution to setTimeout()
.
In other words, we inverted the control of bestColor()
’s execution from ourselves to the third party. Therefore, setTimeout()
has full control to determine how bestColor()
will get executed.
Invocation
Section titled “Invocation”Invocation means to execute a piece of code.
Iterable
Section titled “Iterable”An iterable is an object that has a property with a @@iterator
key.
Iteration Statement in JavaScript
Section titled “Iteration Statement in JavaScript”An iteration statement is any piece of code that allows you to repeat a program’s execution easily and quickly.