참고글 : https://blog.jonnew.com/posts/poo-dot-length-equals-two
“🖤”.length() => 2
“❤️”.length() => 2
“👦”.length() => 2
“👦🏾”.length() => 4
“🚵♀️”.length() => 5
“👨👩👦👦”.length() => 11
한글자로 취급될 것 같은 한개의 이모지에서 이런 결과가 나오는 이유를 찾아보았습니다.
| /** | |
| * @usage: | |
| * | |
| * <CheckBox label="Foo" value="foo" v-model="MySelectedValues" /> | |
| * <CheckBox label="Bar" value="bar" v-model="MySelectedValues" /> | |
| * <CheckBox label="Baz" value="baz" v-model="MySelectedValues" /> | |
| * | |
| * data(){ | |
| * return { | |
| * MySelectedValues: [], |
참고글 : https://blog.jonnew.com/posts/poo-dot-length-equals-two
“🖤”.length() => 2
“❤️”.length() => 2
“👦”.length() => 2
“👦🏾”.length() => 4
“🚵♀️”.length() => 5
“👨👩👦👦”.length() => 11
한글자로 취급될 것 같은 한개의 이모지에서 이런 결과가 나오는 이유를 찾아보았습니다.
왜 svelte가 Vue 보다 더 좋은가? By John Hannah
| <template> | |
| <div> | |
| <div v-for="user in users" :key="user.id"> | |
| <user-profile-modal | |
| :show="showModal(user.id)" | |
| @close="toggleModal(user.id)" /> | |
| <a class="text-sm" href="#" @click.stop="toggleModal(user.id)">Show</a> | |
| </div> | |
| </div> |
The always enthusiastic and knowledgeable mr. @jasaltvik shared with our team an article on writing (good) Git commit messages: How to Write a Git Commit Message. This excellent article explains why good Git commit messages are important, and explains what constitutes a good commit message. I wholeheartedly agree with what @cbeams writes in his article. (Have you read it yet? If not, go read it now. I'll wait.) It's sensible stuff. So I decided to start following the
| let fnGetFileNameFromContentDispostionHeader = function (header) { | |
| let contentDispostion = header.split(';'); | |
| const fileNameToken = `filename*=UTF-8''`; | |
| let fileName = 'downloaded.pdf'; | |
| for (let thisValue of contentDispostion) { | |
| if (thisValue.trim().indexOf(fileNameToken) === 0) { | |
| fileName = decodeURIComponent(thisValue.trim().replace(fileNameToken, '')); | |
| break; | |
| } |
| # See http://help.github.com/ignore-files/ for more about ignoring files. | |
| # compiled output | |
| /dist | |
| /tmp | |
| /out-tsc | |
| # Runtime data | |
| pids | |
| *.pid |
| function fadeOut(el){ | |
| el.style.opacity = 1; | |
| (function fade() { | |
| if ((el.style.opacity -= .1) < 0) { | |
| el.style.display = "none"; | |
| } else { | |
| requestAnimationFrame(fade); | |
| } | |
| })(); |
| <head> | |
| <link rel="shortcut icon" href="myicon.ico" type="image/x-icon"> | |
| <link rel="icon" href="myicon.ico" type="image/x-icon"> | |
| </head> | |
| // image file format .ico or .png available. size 16x16 / 32x32 available. |