Git Product home page Git Product logo

jaffa Isaac's Projects

array.from-with-the-foreach icon array.from-with-the-foreach

n this example, we just passed into the function the customer object, and in turn it returns an array formed from the individual elements.

array.of- icon array.of-

Another really handy method introduced in ES6 is Array.of(), which lets you create an array of elements easily. Array.of() takes a list of items as parameters and returns them to you as an array

array.prototype.fill- icon array.prototype.fill-

This is a very simple method that allows us to fill all the elements of an array with a static value.

array.prototype.find-and-array.prototypefindindex- icon array.prototype.find-and-array.prototypefindindex-

Array.prototype.find() let you iterate through an array and returns the first item that matches the callback ( element ,index and array) indIndex() method //this returns the index position of the element basing on the coditions given

array.prototype.values- icon array.prototype.values-

Array.prototype.values() this method returns a new object that contains the value for each index in an Array

asyc-await-on-kitchen-example icon asyc-await-on-kitchen-example

// Restaurant // in the restaurant ,there are two section here one is Kitchen area and Eatting area // in the Kitchen area ->cooking and implementing the order: // Eatting area -> serving customer , cleaning tables ,taking orders ,welcoming customers ,billing customers etc

audio icon audio

how to play around with audio in Html css and js

bulb-light icon bulb-light

here i created a bulb that change when you click on the different buttons

checking-keys-equality icon checking-keys-equality

Key equality in Map() is based on the “same-value” algorithm, which is similar to the === operator but also considers NaN to be equal to NaN (even though generally NaN !== NaN), which means NaN when used as a key will return map objects that were previously set using NaN as the key

class-get-and-set icon class-get-and-set

These property descriptors are non-enumerable and can be accessed using Object.getOwnPropertyDescriptor() on the class’s prototype, since these properties reside on the prototype object.

complex-destructing-of-objects-array icon complex-destructing-of-objects-array

This code extracts student.courses.english and student.scoreRange[0] into english and minScore, respectively. In this example both courses and scoreRange are variables in the destructured pattern that get their values from the corresponding properties within the student object.

computed-method-name icon computed-method-name

Similar to object literals, methods inside a class can have computed names. This also applies to getter and setter accessor properties of the class. As seen with object literals, the computed method names can be wrapped with [ ];

comunicating-with-generators icon comunicating-with-generators

here we pass the values via the yield to the generator and use the values inside the generator function when execution resumes

creating-a-class-in-es6 icon creating-a-class-in-es6

A class in Es6 is simply a function under hood The new Class keyword in Es6 supports ProtoType based inheritance instances constructor Super calls Static methods

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.