Array.prototype.concat() | JavaScript | Frontend | Take it easy #shorts

preview_player
Показать описание
#1 A

#JavaScript #Frontend #shorts

codepen
MDN

```
const arr1 = ['a', 'b', 'c']
const arr2 = ['d', 'e', 'f']
```

--------------------------------------------------
Please Check my movies!!

▶︎Movie - CSS
writing-mode

text-transform

zoom

▶︎Movie - JavaScript

filter(v, i, self) - Duplicate items

▶︎Movie - HTML
input

del & ins

▶︎Movie - SCSS
min, max
mix

Methods

--------------------------------------------------
▶︎Target
For beginners to learn.
For intermediate reviewers.

▶︎Weekly plan - 2021
Mon. JavaScript
Tue. CSS
Wed. Any
Thu. Any
Fri. Any

▶︎Why I post
I'm not good at reading thick books.
When I became an engineer, I was frustrated many times.
The documentation out there is complicated and it has afflicted me.
So I want to explain programming as simply as possible.
Of course, it also serves as my study.

▶︎My future
Recently I'm making a short video. but want to make a long video when I have time.
want to make a site and try to monetize it.
But also want to support the programming challenges of beginners.

Let's all do our best!
And I hope the world goes for the better with programming.

Please subscribe to the channel.
Рекомендации по теме
Комментарии
Автор

Array spread is probably more readable

dclstn
Автор

In python we can do

arr1 = ["a", "b", "c"]
arr2 = ["d", "e", "f"]
arr3 = [*arr1, *arr2]

tathyagarg
Автор

This is why bugs such as prototype pollution is found

malrborojamez
Автор

You can also concat Strings and number and arrays

abdelrahmanmahmoud
Автор

This may be the least common way to do it now a days lol.

Shawn
Автор

Comments to stay on this type of content

Ibukundaniel