Mobile Computing Midterms Reviewer

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/41

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

42 Terms

1
New cards

ECMAScript (ES)

The formal standardized version of JavaScript, standardized by ECMA International.

2
New cards

ES5 (ECMAScript 5)

A version of ECMAScript released in 2009 with subtle updates to support JavaScript across all browsers.

3
New cards

ES6 (ECMAScript 6)

A major update to ECMAScript in 2015, introducing features like block-scoped variables, arrow functions, and classes.

4
New cards

Block-scoped variables

Variables declared using let or const, which are only accessible within the block where they are declared.

5
New cards

Arrow functions

A shorthand for defining functions in JavaScript using the => syntax. They inherit the this keyword from the parent scope.

6
New cards

Classes in ES6

A syntax introduced in ES6 that simplifies object-oriented programming using "syntactical sugar" for prototype inheritance.

7
New cards

Template literals

A feature in ES6 that allows embedding expressions in strings using ${} and backticks for easier string interpolation.

8
New cards

Array.prototype.includes()

A method introduced in ES2016 to check if a particular element exists in an array.

9
New cards

Exponential operator ()

A feature introduced in ES2016 for raising a number to the power of another number, replacing Math.pow().

10
New cards

Object.entries()

A method introduced in ES2017 that returns an array of key-value pairs from an object.

11
New cards

Object.values()

A method introduced in ES2017 that returns an array of the values of an object.

12
New cards

Async and Await

Features introduced in ES2017 for handling asynchronous code more easily by returning promises inside asynchronous functions.

13
New cards

Rest/Spread syntax for objects

A feature in ES2018 that allows spreading and collecting properties in objects using the … syntax.

14
New cards

Asynchronous iteration

A feature in ES2018 that allows using await inside loops to handle asynchronous data sources.

15
New cards

Array.prototype.flat()

A method introduced in ES2019 to flatten arrays up to a specified depth.

16
New cards

Symbol.prototype.description

A method in ES2019 that allows retrieving the description of a Symbol object.

17
New cards

Object.fromEntries()

A method introduced in ES2019 that transforms a list of key-value pairs into an object.

18
New cards

JSX (JavaScript XML)

A syntax extension for JavaScript, used in React to write HTML-like code within JavaScript.

19
New cards

Components in React

Reusable UI elements in React that represent parts of the user interface.

20
New cards

Unidirectional data flow

A design pattern in React where data flows in a single direction from the parent component to child components.

21
New cards

Flux

A pattern used with React to manage the flow of data in an application, maintaining unidirectional data flow.

22
New cards

Virtual DOM

A lightweight representation of the actual DOM in React, used for optimizing the performance of web applications.

23
New cards

Webpack

A module bundler used in React development to bundle JavaScript files for the browser.

24
New cards

Babel

A JavaScript compiler that converts modern JavaScript (ES6 and beyond) into a backward-compatible version that can run in older browsers.

25
New cards

npm (Node Package Manager)

A package manager used for installing and managing dependencies in JavaScript projects.

26
New cards

ReactDOM

A package that provides methods to interact with the DOM in React applications.

27
New cards

webpack-dev-server

A development server for running a React application, with live reloading and debugging features.

28
New cards

babel-loader

A Webpack loader that enables Babel to transpile JavaScript files within a Webpack build process.

29
New cards

HtmlWebpackPlugin

A Webpack plugin used to generate an HTML file that includes the bundled JavaScript.

30
New cards

React Native

A framework for building native mobile applications using React.

31
New cards

create-react-app

A tool that sets up a new React project with a default configuration.

32
New cards

main.js

The main entry point file in a React project where the JavaScript code is executed.

33
New cards

index.html

The HTML file that serves as the root of the React app, linking to the bundled JavaScript file.

34
New cards

JSX

A syntax extension for JavaScript used in React to describe the UI, making it easier to write and read components by resembling HTML.

35
New cards

JSX Wrapper

JSX requires a single parent element (like a div) to wrap multiple sibling elements when returning them from a component’s render method.

36
New cards

Attributes

Custom attributes can be added in JSX using the data- prefix (e.g., data-myattribute).

37
New cards

JavaScript Expressions

Expressions in JavaScript can be used inside JSX, wrapped in curly brackets {}.

38
New cards

Inline JavaScript

JSX cannot directly use if statements but allows conditional logic via ternary expressions inside {}.

39
New cards

Styling

React recommends inline styles, which should be written in camelCase syntax (e.g., fontSize instead of font-size).

40
New cards

Comments

JSX allows comments within JSX syntax, using curly braces {} for single-line comments and /* */ for multi-line comments.

41
New cards

Naming Convention

In JSX, HTML tags are lowercase, while React components start with an uppercase letter. Additionally, class and for are replaced by className and htmlFor to avoid conflicts with JavaScript keywords.

42
New cards