Thanks for the post! I didn't know that split method and spread operator have different behavior.
I looked at grapheme clusters one step deeper and learned that even ... may give wrong results for complex emojis.
Creator of https://brisa.build Framework.
Open source π
Machine learning π€
Books π
Sport πββοΈ
Nature π±
Focus on being useful. I contribute AMAP to the OSS community. Love learning by doing.
Ya, it does! But don't use it lol because it's deprecated. I just wanted to find a method that was only part of String and not an Array and that's the one I found. Which made me realize these two objects have similar methods π
Thanks Brian! That makes me so happy to hear that you still learned something even with your extensive background. I want to follow your attitude, have that StudentMindset even after 20 years. I think itβs one of the thing I love about tech, itβs always evolving, so you never stop learning ππ
Same! I just need to learn video editing and hopefully one day I can make video tutorials of these π
Thank you for your kind words, so glad you found my code notes helpful π Btw, I also have a series where I try to explain common code interview questions using pictures that you might also like π samanthaming.com/pictorials/
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for the post! I didn't know that
splitmethod andspreadoperator have different behavior.I looked at grapheme clusters one step deeper and learned that even
...may give wrong results for complex emojis.There is even grapheme splitter library to break strings in characters as expected.
I didn't know that
.boldexist! HehYa, it does! But don't use it lol because it's deprecated. I just wanted to find a method that was only part of
Stringand not anArrayand that's the one I found. Which made me realize these two objects have similar methods πIntersting and inspiring article!
Can I translate it into Chinese to help more developers?
I will give credit at the top of the article.
You bet Jack! My code notes aren't mean to be shared! Thank you so much for wanting to translate it π
You can find the markdown and original image in my repo:
github.com/samanthaming/samanthami...
(I'd recommend checking the markdown in my repo because I keep that up to date, and sometimes I might forget to edit the article on dev π )
Let me know if you need anything that can help with your translation π
ok. star and watch.
I always loved your blogs. Keep it coming, Samantha. π
You bet! Thanks for the encouragement! So happy you found them helpful ππ
This is so incredibly in depth! I always learn something new from your posts, and I've been using JS for more than 20 years! Thank you!
Thanks Brian! That makes me so happy to hear that you still learned something even with your extensive background. I want to follow your attitude, have that StudentMindset even after 20 years. I think itβs one of the thing I love about tech, itβs always evolving, so you never stop learning ππ
Thank you so much for your posts. really easy to understand . I am more visual person and your posts are amazing throw that. thank you !
Same! I just need to learn video editing and hopefully one day I can make video tutorials of these π
Thank you for your kind words, so glad you found my code notes helpful π Btw, I also have a series where I try to explain common code interview questions using pictures that you might also like π samanthaming.com/pictorials/