jaffaisaac Goto Github PK
Name: jaffa Isaac
Type: User
Company: aptech school
Bio: Web Developer | HTML | CSS | JavaScript
Name: jaffa Isaac
Type: User
Company: aptech school
Bio: Web Developer | HTML | CSS | JavaScript
n this example, we just passed into the function the customer object, and in turn it returns an array formed from the individual elements.
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
This is a very simple method that allows us to fill all the elements of an array with a static value.
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.keys() this return s keys of each index in an array
Array.prototype.values() this method returns a new object that contains the value for each index in an Array
this show how to add an element in to an array with the spread operator
// 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
how to play around with audio in Html css and js
here i created a bulb that change when you click on the different buttons
this accesses the camera through the API
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
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.
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.
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 [ ];
here we pass the values via the yield to the generator and use the values inside the generator function when execution resumes
Besides methods, you can also override constructors;
you can also create an immediately resolved promise
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.