YEAHUB_NODE_BACKEND Telegram 236
#полезное
😇 Переворот строки

Одна из классических задач в программировании — перевернуть строку, то есть сделать так, чтобы символы шли в обратном порядке. На первый взгляд всё элементарно: разбить строку на символы, развернуть массив и склеить обратно.

Но если строка содержит эмодзи или спецсимволы, обычный split("") разобьёт их неправильно. Правильный способ — использовать Array.from() или спред-оператор.

👉Новости 👉База вопросов
Please open Telegram to view this post
VIEW IN TELEGRAM
1



tgoop.com/yeahub_node_backend/236
Create:
Last Update:

#полезное
😇 Переворот строки

Одна из классических задач в программировании — перевернуть строку, то есть сделать так, чтобы символы шли в обратном порядке. На первый взгляд всё элементарно: разбить строку на символы, развернуть массив и склеить обратно.

Но если строка содержит эмодзи или спецсимволы, обычный split("") разобьёт их неправильно. Правильный способ — использовать Array.from() или спред-оператор.

👉Новости 👉База вопросов

BY Node.js Backend | YeaHub




Share with your friend now:
tgoop.com/yeahub_node_backend/236

View MORE
Open in Telegram


Telegram News

Date: |

Don’t publish new content at nighttime. Since not all users disable notifications for the night, you risk inadvertently disturbing them. A few years ago, you had to use a special bot to run a poll on Telegram. Now you can easily do that yourself in two clicks. Hit the Menu icon and select “Create Poll.” Write your question and add up to 10 options. Running polls is a powerful strategy for getting feedback from your audience. If you’re considering the possibility of modifying your channel in any way, be sure to ask your subscribers’ opinions first. Today, we will address Telegram channels and how to use them for maximum benefit. The Standard Channel The optimal dimension of the avatar on Telegram is 512px by 512px, and it’s recommended to use PNG format to deliver an unpixelated avatar.
from us


Telegram Node.js Backend | YeaHub
FROM American