feat(20-arithmetics): adapt content from Python version#799
Draft
fey wants to merge 2 commits into
Draft
Conversation
- 20-basic: rewrite README with JS syntax, new battery price exercise - 25-operator: rewrite README with unary/binary diagram, submarine exercise - 27-commutativity: rewrite README with JS code, painter exercise (2**8=256, 9/3=3) - 30-composition: rewrite README with step-by-step diagram, shopping exercise - 40-priority: rewrite README with priority table, pizza exercise - 50-float: rewrite README with 0.1+0.2 surprise story (JS-specific result) - 80-linting: replace eslint with biome, update links and examples Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Mirrors fix from exercises-python: remove extra 2-space leading indentation from ASCII diagrams inside ```text blocks. Affected files: - 20-basic: console.log flow diagram - 25-operator: operand/operator table - 27-commutativity: commutativity diagram - 30-composition: 2+3*4 step-by-step diagram - 40-priority: operator precedence table - 50-float: Expected vs Actual diagram - 80-linting: Code→Linter→Result diagram Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что изменено
Адаптация модуля
20-arithmeticsиз exercises-python под JavaScript.Изменения по урокам
20-basic//(целочисленное деление, в JS это комментарий), новое задание — цена батарейки25-operator27-commutativity30-composition40-priority50-float80-lintingЧто осталось без изменений
60-infinity— JS-специфика (Infinity)70-nan— JS-специфика (NaN)🤖 Generated with Claude Code