#ecmascript6
Read more stories on Hashnode
Articles with this tag
What is currying ? Currying is an advanced technique of working with functions. It is a transformation of functions that translates a function from...
//Concat ['ππ»ββοΈ', 'ππ»'].concat('π§π»') = [ 'ππ»ββοΈ', 'ππ»', 'π§π»' ] //Join ['π€΄π»', 'πΈπ»'].join('π') = 'π€΄π»ππΈπ»' //Slice ['π', 'πΆ',...
Here we are going to build a form validator class it will expose four methods forField, addRule, validate and required. forField This method will take...
Reducer executes a function (provided as argument to reducer) on each element of the array, resulting in single output value. Custom Reducer...
Javascript is crazy language it will allow us to write bad code that we shouldn't do. use strict directive introduced in ECMAScript version 5. It is...