GithubHelp home page GithubHelp logo

javascript-tutorial / ru.javascript.info Goto Github PK

View Code? Open in Web Editor NEW
3.8K 50.0 893.0 725.16 MB

Современный учебник JavaScript

Home Page: https://learn.javascript.ru

License: Other

HTML 83.24% JavaScript 14.02% CSS 2.71% PHP 0.02%
javascript tutorial russian

ru.javascript.info's Introduction

Современный учебник JavaScript

Всем привет!

Здесь находится текст Современного Учебника JavaScript, опубликованного на https://learn.javascript.ru.

Внесение правок

JavaScript — это активно развивающийся язык, в который постоянно добавляется что-то новое.

Мы стараемся, насколько это возможно, следить за всеми новинками и обновлениями. Но иногда всё-же что-то остаётся незамеченным.

Если вы считаете, что какая-либо информация из учебника уже неактуальна (или может быть улучшена), — мы всегда будем рады рассмотреть ваши предложения по усовершенствованию материала 😄.

Мы также приветствуем добавление новых статей и задач в учебник.

О том, как внести правки в learn.javascript.ru, можно прочитать здесь.

(сейчас нужна помощь с разделом по CSS, его хорошо бы обновить 😉)



Илья Кантор @iliakan

ru.javascript.info's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ru.javascript.info's Issues

Progress

Maintainer List

@iliakan

For New Translators

To translate a page:

  1. Check that no one else has claimed your page in the checklist and comments below.
  2. Comment below with the name of the page you would like to translate. Please take only one page at a time.
  3. Clone this repo, translate your page, and submit a pull request!

Before contributing, read the glossary and style guide (once they exist) to understand how to translate various technical and React-specific terms.

Please be prompt with your translations! If you find find that you can't commit any more, let the maintainers know so they can assign the page to someone else.

For Maintainers

When someone volunteers, edit this issue with the username of the volunteer, and with the PR. Ex:

When PRs are merged, make sure to mark that page as completed!

The JavaScript language

An introduction

  • An Introduction to JavaScript
  • Code editors
  • Developer console

JavaScript Fundamentals

  • Hello, world!
  • Code structure
  • The modern mode, "use strict"
  • Variables
  • Data types
  • Type Conversions
  • Operators
  • Comparisons
  • Interaction: alert, prompt, confirm
  • Conditional operators: if, '?'
  • Logical operators
  • Loops: while and for
  • The "switch" statement
  • Functions
  • Function expressions and arrows
  • JavaScript specials

Code quality

  • Debugging in Chrome
  • Coding Style
  • Comments
  • Ninja code
  • Automated testing with mocha
  • Polyfills

Objects: the basics

  • Objects
  • Garbage collection
  • Symbol type
  • Object methods, "this"
  • Object to primitive conversion
  • Constructor, operator "new"

Data types

  • Methods of primitives
  • Numbers
  • Strings
  • Arrays
  • Array methods
  • Iterables
  • Map, Set, WeakMap and WeakSet
  • Object.keys, values, entries
  • Destructuring assignment
  • Date and time
  • JSON methods, toJSON

Advanced working with functions

  • Recursion and stack
  • Rest parameters and spread operator
  • Closure
  • The old "var"
  • Global object
  • Function object, NFE
  • The "new Function" syntax
  • Scheduling: setTimeout and setInterval
  • Decorators and forwarding, call/apply
  • Function binding
  • Currying and partials
  • Arrow functions revisited

Object properties configuration

  • Property flags and descriptors
  • Property getters and setters

Prototypes, inheritance

  • Prototypal inheritance
  • F.prototype
  • Native prototypes
  • Prototype methods, objects without proto
  • Getting all properties

Classes

  • Class patterns
  • Classes
  • Class inheritance
  • Static properties and methods
  • Private and protected properties and methods
  • Extending build-in classes
  • Class checking: "instanceof"
  • Mixins

Error handling

  • Error handling, "try..catch"
  • Custom errors, extending Error

Promises, async/await

  • Introduction: callbacks
  • Promise
  • Promises chaining
  • Error handling with promises
  • Promise API
  • Promisification
  • Microtasks and event loop
  • Async/await

Generators, advanced iteration

  • Generators
  • Async iteration and generators

Modules

  • Modules, introduction
  • Export and Import
  • Dynamic imports

Browser: Document, Events, Interfaces

Document

  • Browser environment, specs
  • DOM tree
  • Walking the DOM
  • Searching: getElement* and querySelector*
  • Node properties: type, tag and contents
  • Attributes and properties
  • Modifying the document
  • Styles and classes
  • Element size and scrolling
  • Window sizes and scrolling
  • Coordinates

Introduction into Events

  • Introduction to browser events
  • Bubbling and capturing
  • Event delegation
  • Browser default actions
  • Dispatching custom events

UI Events

  • Mouse events basics
  • Moving: mouseover/out, mouseenter/leave
  • Drag'n'Drop with mouse events
  • Keyboard: keydown and keyup
  • Scrolling

Forms, controls

  • Form properties and methods
  • Focusing: focus/blur
  • Events: change, input, cut, copy, paste
  • Form submission: event and method submit

Document and resource loading

  • Page: DOMContentLoaded, load, beforeunload, unload
  • Scripts: async, defer
  • Resource loading: onload and onerror

Frames and windows

  • Popups and window methods
  • Cross-window communication
  • The clickjacking attack

Binary data, files

  • ArrayBuffer, binary arrays
  • TextDecoder and TextEncoder
  • Blob
  • File and FileReader

Network requests

  • Fetch: Basics
  • Fetch: Download progress
  • Fetch: Abort
  • Fetch: Cross-Origin Requests
  • Fetch API
  • URL objects
  • XMLHttpRequest
  • WebSocket

Storing data in the browser

  • Cookies, document.cookie
  • LocalStorage, sessionStorage
  • IndexedDB

Animation

  • Bezier curve
  • CSS-animations
  • JavaScript animations

Web components

  • From the orbital height
  • Custom elements
  • Shadow DOM
  • Template element
  • Shadow DOM slots, composition
  • Shadow DOM styling
  • Shadow DOM and events

Regular expressions

  • Patterns and flags
  • Methods of RegExp and String
  • Character classes
  • Escaping, special characters
  • Sets and ranges [...]
  • Quantifiers +, *, ? and {n}
  • Greedy and lazy quantifiers
  • Capturing groups
  • Backreferences in pattern: \n and \k
  • Alternation (OR) |
  • String start ^ and finish $
  • Multiline mode, flag "m"
  • Lookahead and lookbehind
  • Infinite backtracking problem
  • Unicode: flag "u"
  • Unicode character properies \p
  • Sticky flag "y", searching at position

Miscellaneous

  • Mutation observer

Обсуждение стандартов/практик/рекомендаций/стилей оформления текста

TOC

В репозитории

В этом топике

Описание проблемы

Некоторые элементы текста удручают своим разнообразием. Предлагаю хотя бы собрать попавшиеся варианты.

Например, разметка сниппета

````warn header="`matchAll` возвращает итератор, а не массив"
````

Ломает штатный syntax highlighting моих редакторов напрочь.

Ну, и т.д.

1-js/05-data-types/05-array-methods/

Начал перевод.

Есть вопрос по этой строке:
The [arr.splice(str)](mdn:js/Array/splice) method is a swiss army knife for arrays. It can do everything: add, remove and insert elements.

Вот это место меня беспокоит: add, remove and insert elements.
Это перевести как: добавлять, удалять и вставлять элементы?
Или всё же: добавлять, удалять и заменять элементы?

1-js/index.md

Попытаюсь перевести файл 1-js/index.md :-)

1-js/05-data-types/11-json

Начал перевод ../article.md - "JSON methods, toJSON" и задач к ним
../11-json/1-serialize-object,
../11-json/2-serialize-event-circular

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.