Open in app

Sign In

Write

Sign In

Dominik Bulaj
Dominik Bulaj

50 Followers

Home

About

Published in ITNEXT

·Pinned

Composing functions in JavaScript

Taking functional programming approach to pipeline functions in JavaScript — Cross-posted from my dev.to article with a same title. Recently I read an article, here on Medium, about using Pipeline style in JavaScript. An article described how to pipe functions together so data flows through all of them. What I’ve missed in this article was functional programming taste. …

JavaScript

4 min read

Composing functions in JavaScript
Composing functions in JavaScript
JavaScript

4 min read


Published in ITNEXT

·Feb 4, 2022

Fixing vulnerabilities found in a dependency tree

I’m working for a company that produces financial cloud solutions. We’re making a new app — a mobile app developed in React Native. The app is not yet publicly available and during the preparation for the launch, we made a full code scan to find any vulnerabilities. …

Security

2 min read

Fixing vulnerabilities found in a dependency tree
Fixing vulnerabilities found in a dependency tree
Security

2 min read


Mar 12, 2021

Efficient Ways to Clone objects in JavaScript in 2021
31
1

Shadid Haque

You can also use Ramda's clone: https://ramdajs.com/docs/#clone

You can also use Ramda's clone: https://ramdajs.com/docs/#clone (does the same lodash do - deep cones object)

1 min read

1 min read


Mar 12, 2021

JavaScript Algorithm: Calculate Sum of All Numbers in a Jagged Array
38
2

Erica N

How about one-liner solution to count all the values incl. in nested arrays:

How about one-liner solution to count all the values incl. in nested arrays: ar.flat(Number.MAX_SAFE_INTEGER).reduce((acc,curr)=>acc+curr);

1 min read

1 min read


May 6, 2020

3 ways to convert numeric string to integer in JavaScript

If you work with JavaScript for sure you got a case when you used addition (+) with number and a numeric string (e.g. “12”). Since JavaScript is dynamically-typed language result of such an operation can be (at least first time) surprising… What does it mean JavaScript is dynamically-typed? Dynamically-typed languages are those (like JavaScript) where the interpreter…

JavaScript

4 min read

JavaScript

4 min read


May 5, 2020

Reimplementing JavaScript Array methods

Some time ago I’ve found list of JavaScript tasks. Those cover all developer career levels — Newbie/Junior/Mid and are fun way to practice programming. NOTE those tasks are written in Polish language but I’m gonna translate task requirements to English :) I’ve decided to give it a try and reimplement…

JavaScript

4 min read

Reimplementing JavaScript Array methods
Reimplementing JavaScript Array methods
JavaScript

4 min read


Published in ITNEXT

·Jun 11, 2018

Create Date from MySQL DATETIME format in JavaScript

In JavaScript we can create Date object by either constructor (new Date()) or by using Date.parse() method. In both cases (optionally) we can provide dateString. MDN notes it should be: A string representing an RFC2822 or (a variant of) ISO 8601 date (other formats may be used, but results may…

JavaScript

1 min read

Create Date from MySQL DATETIME format in JavaScript
Create Date from MySQL DATETIME format in JavaScript
JavaScript

1 min read

Dominik Bulaj

Dominik Bulaj

50 Followers

web developer // cycling addicted

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech