Giter VIP home page Giter VIP logo

stemwijzer-2020's Introduction

Stemwijzer 2020

note on for loop for (initialExpression, condition, incrementExpression) { statements } initial expression defines an expression condition compares the initial expression, as long as the value is true, the for loop will run incrementExpression; add an operator to increment the initial expression

for(let i = 0; i <5;) { console.log('hello World'); } i = index/loop variable i<5: run as long as the value of i is less than 5, a value above 5 means the condition is not met ++ = increment operator statements run as long as the for loop runs

dot notation is json object related myObj = { "name":"John", "age":30, "car":null }; x = myObj.name; "name" is defined in the braces, and dot notation lets you access it.

function() {

} between curly brackets is the "body" and is where you program logic/statements, between parentheses is "inputs", referred to as "parameters" a parameter is a variable only active in the function

a parameter is a declaration, an argument is the value

function greet(name) { console.log('hello' + name): }

greet('John')

example of .map: /*const numbers = [1, 2, 3];

const items = numbers.map(n => { const obj = { value: n }; return obj;

}); */

stemwijzer-2020's People

Watchers

James Cloos avatar Floris Lans avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.