Use the given object and perform the following operations on it:
const ironhacker = {
firstName: 'marko',
age: 39,
favorites: ['JavaScript', 'Node'],
// ************************************************************************************************ | |
// PART 2: FUNCTION EXPRESSION, CALLBACKS, ANONYMOUS FUNCTIONS, ARROW FUNCTIONS | |
// ************************************************************************************************ | |
function printInfo(product, price) { | |
return `${product} price is ${price}`; | |
} | |
// function expression (example 1) | |
const sandwich = printInfo('sandwich', 17); |
App.js
, create a variable and assign it a value equal to your full name.babel
do? ---> read herewebpack
do? ---> read herebabel-preset-env
and babel-preset-react
? read here - env and read here - reacttest: /\.js$/
represents in the webpack.config
file? - A regular expression (test) that checks for files with .js
or .jsx
extension.webpack-dev-server
do? - A tool that checks for changes in source code and rebundles files automatically.Recently, a different, better approach has gained popularity.
Applications now have two parts:
Feel free to use this presentation as a reference.
--- | |
course: | |
name: 'WDFT' | |
number: MASTER | |
version: '5.0' | |
chapter: | |
## ## ####### ######## ## ## ## ######## ## | |
### ### ## ## ## ## ## ## ## ## #### | |
#### #### ## ## ## ## ## ## ## ## ## | |
## ### ## ## ## ## ## ## ## ## ###### ## |