You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Big O notation is a mathematical notation that describes the limiting behavior of a function when the argument tends towards a particular value or infinity.
NFT Token Development Shadow Project
There will be a sign-list posted to shadow Jerome as he builds an NFT Token
A non-fungible token (NFT) is a unit of data stored on a digital ledger, called a blockchain, that certifies a digital asset to be unique and therefore not interchangeable.
You define (and create) a JavaScript object with an object literal.
Spaces and line breaks are not important. An object definition can span multiple lines.
The name:values pairs in JavaScript objects are called properties.
Objects in JavaScript may be defined as an unordered collection of related data, of primitive or reference types, in the form of “key: value” pairs. These keys can be variables or functions and are called properties and methods, respectively, in the context of an object.
An object can be created with figure brackets {…} with an optional list of properties. A property is a “key: value” pair, where a key is a string (also called a “property name”), and value can be anything.
Basically objects package property names and values in structured data
Example of an Object:
varlanguage={name: 'Javascript'isSupportedByBrowsers: true,createdIn: 1995,author:{firstName: 'Brendan',lastName: 'Eich'},//Yes, objects can be nested!getAuthorFullName: function(){returnthis.author.firstName+" "+this.author.lastName;}//Yes, functions can be values too!};//theres no comma here because its the last item in the objectlanguage.name"The creator of "+language.name+" is "+language.author.firstName+" "+language.author.lastName+"."
Portfolio Notes
Build something like Twillio into your portfolio
Make a subscribe to newsletter section for people to stay updated on what you're doing
Look into DevRel. DevRel focuses on maintaining and growing relationships with the ultimate goal of building advocacy, whereas developer marketing looks to build awareness and get developers into the funnel.
Front End Masters
Contact Jerome for a subscription code to Front End Masters
Day 3
Arrow Functions
Function expressions are best for object methods. Arrow functions are best for callbacks or methods like map, reduce, or forEach.
Arrow functions do not have their own binding(can't use 'this' with arrow functions).They do not have lexical scope.
Arrow functions cannot be used with constructors
Used in higher level functions a lot
Use Mozilla MDN documentation for further info.
Example of the difference between traditional and arrow functions
// Traditional Functionfunction(a){returna+100;}// Arrow Function Break Down// 1. Remove the word "function" and place arrow between the argument and opening body bracket(a)=>{returna+100;}// 2. Remove the body brackets and word "return" -- the return is implied.(a)=>a+100;// 3. Remove the argument parenthesesa=>a+100;
Default parameters have a predetermined value before you pass in any arguments
If you have more than one parameter in arrow functions, you have to use parenthesis