DEV Community

Heru Hartanto profile picture

Heru Hartanto

Frontend developer based in Jakarta

Promise.finally(): Your Secret Weapon for Smoother Promise

Promise.finally(): Your Secret Weapon for Smoother Promise

1
Comments
1 min read

Want to connect with Heru Hartanto?

Create an account to connect with Heru Hartanto. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
Understanding Scope Chain in JavaScript

Understanding Scope Chain in JavaScript

4
Comments
1 min read
Understanding Tagged Template Literals in JavaScript

Understanding Tagged Template Literals in JavaScript

Comments
1 min read
The Impact of AI on Junior-Level Jobs

The Impact of AI on Junior-Level Jobs

Comments
3 min read
It's okay to be mediocre

It's okay to be mediocre

Comments
1 min read
How retired developer look like?

How retired developer look like?

Comments
1 min read
How to deal with Imposter Syndrome

How to deal with Imposter Syndrome

Comments
2 min read
Three tips to deal with boring developer job.

Three tips to deal with boring developer job.

1
Comments
2 min read
How to remove unwanted files in a commit but keep it locally

How to remove unwanted files in a commit but keep it locally

3
Comments
1 min read
How to get all object values without loop

How to get all object values without loop

9
Comments 3
1 min read
Understanding primitive values vs Non primitive values

Understanding primitive values vs Non primitive values

7
Comments
3 min read
Understanding Bind, Call and Apply in Javascript

Understanding Bind, Call and Apply in Javascript

8
Comments
2 min read
Object constructor in javascript

Object constructor in javascript

6
Comments
1 min read
Understanding object in Javascript

Understanding object in Javascript

5
Comments
2 min read
Closure in Javascript

Closure in Javascript

5
Comments
1 min read
Understanding Asynchronous in javascript

Understanding Asynchronous in javascript

148
Comments 4
1 min read
Understanding classes in javascript

Understanding classes in javascript

5
Comments 2
1 min read
How to destructure object and make alias for keys name

How to destructure object and make alias for keys name

3
Comments
1 min read
What is hoisting javascript ?

What is hoisting javascript ?

5
Comments
1 min read
Type of function

Type of function

8
Comments 1
1 min read
'1' - '1' / 2 = ? , Can you find the answer ?

'1' - '1' / 2 = ? , Can you find the answer ?

5
Comments 2
1 min read
Clean your condition 🧼

Clean your condition 🧼

21
Comments 3
1 min read
Clean your function 🧼

Clean your function 🧼

3
Comments
2 min read
Clean your variable 🧼

Clean your variable 🧼

1
Comments
1 min read
How to know if you are good enough as developer ?

How to know if you are good enough as developer ?

7
Comments 1
1 min read
How to converting string number to number without parseInt or parseFloat

How to converting string number to number without parseInt or parseFloat

1
Comments 1
1 min read
Shorthand for calling functions conditionally

Shorthand for calling functions conditionally

1
Comments
1 min read
Optional Chaining ?.

Optional Chaining ?.

4
Comments
1 min read
Small mistake to avoid as developer

Small mistake to avoid as developer

5
Comments
2 min read
How to clone object except for one or some keys

How to clone object except for one or some keys

11
Comments
1 min read
React Functional over Class components ? 🤔

React Functional over Class components ? 🤔

4
Comments
1 min read
How to use 'effect' hook easy way

How to use 'effect' hook easy way

4
Comments 3
1 min read
React state hook , easy way

React state hook , easy way

1
Comments 1
1 min read
Don't use float

Don't use float

4
Comments 1
1 min read
How to duplicate array

How to duplicate array

5
Comments 3
1 min read
Some git command that you might never use it yet

Some git command that you might never use it yet

5
Comments 2
2 min read
How to swap two variable value without using temporary variable

How to swap two variable value without using temporary variable

8
Comments 2
1 min read
Create Variable without var

Create Variable without var

4
Comments
1 min read
Set default value in your function parameter

Set default value in your function parameter

Comments
1 min read
loading...