Last active
January 21, 2025 09:33
-
-
Save alexandr-kazakov/8dfe10959bc90d25ed23cc51e12d270e to your computer and use it in GitHub Desktop.
forEach js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var houseType = filter.querySelectorAll('.filter__house-type-item-checkbox'); | |
houseType.forEach(function(element, index, array) { | |
console.log(element + ": " + index); | |
}) | |
git stash push -u -m "Ваше сообщение" | |
Чтобы обновить конкретный файл снапшота в Vitest, используйте следующую команду: | |
npx vitest -u src/components/Button.test.ts | |
Eslint run and fix: | |
npx eslint 'src/**/*.{js,jsx,ts,tsx}' --fix | |
Revert: | |
git log --pretty=oneline --abbrev-commit 1f80548^..4b293d5 | |
# now, let's revert all commits | |
git revert --no-commit 1f80548^..4b293d5 | |
# then let's commit all of them with a single message | |
git commit -am "[RELEASE_FIX] this feature should not be here now;"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment