JavaScript Replace (): пошаговое руководство

| | | | | | | | | | | | | | |

–î–ª—è –∑–∞–º–µ–Ω—ã —Ç–µ–∫—Å—Ç–∞ –≤ —Å—Ç—Ä–æ–∫–µ JavaScript –∏—Å–ø–æ–ª—å–∑—É–µ—Ç—Å—è —Ñ—É–Ω–∫—Ü–∏—è replace (). –§—É–Ω–∫—Ü–∏—è replace () –ø—Ä–∏–Ω–∏–º–∞–µ—Ç –¥–≤–∞ –∞—Ä–≥—É–º–µ–Ω—Ç–∞: –∑–∞–º–µ–Ω—è–µ–º—É—é –ø–æ–¥—Å—Ç—Ä–æ–∫—É –∏ –Ω–æ–≤—É—é —Å—Ç—Ä–æ–∫—É, –∫–æ—Ç–æ—Ä–∞—è –∑–∞–π–º–µ—Ç –µ–µ –º–µ—Å—Ç–æ. Regex (p) —Ç–∞–∫–∂–µ –º–æ–∂–Ω–æ –∏—Å–ø–æ–ª—å–∑–æ–≤–∞—Ç—å –¥–ª—è –∑–∞–º–µ–Ω—ã —Ç–µ–∫—Å—Ç–∞ –≤ —Å—Ç—Ä–æ–∫–µ.

–ó–∞–º–µ–Ω–∞ —Ç–µ–∫—Å—Ç–∞ –≤ —Å—Ç—Ä–æ–∫–µ - –æ–±—ã—á–Ω–∞—è –æ–ø–µ—Ä–∞—Ü–∏—è –≤ –ª—é–±–æ–º —è–∑—ã–∫–µ –ø—Ä–æ–≥—Ä–∞–º–º–∏—Ä–æ–≤–∞–Ω–∏—è. –ù–∞–ø—Ä–∏–º–µ—Ä, –≤—ã –º–æ–∂–µ—Ç–µ —É–¥–∞–ª–∏—Ç—å –æ–ø—Ä–µ–¥–µ–ª–µ–Ω–Ω—ã–µ —Å–∏–º–≤–æ–ª—ã –∏–∑ —Å—Ç—Ä–æ–∫–∏, —á—Ç–æ–±—ã —É–±–µ–¥–∏—Ç—å—Å—è, —á—Ç–æ –≤–∞—à–∞ –ø—Ä–æ–≥—Ä–∞–º–º–∞ –±—É–¥–µ—Ç —Ä–∞–±–æ—Ç–∞—Ç—å.

–ö–∞–∫–æ–π –±—ã –Ω–∏ –±—ã–ª–∞ –ø—Ä–∏—á–∏–Ω–∞, –∑–Ω–∞—è, –∫–∞–∫ –∑–∞–º–µ–Ω–∏—Ç—å —Ç–µ–∫—Å—Ç –≤ –°—Ç—Ä–æ–∫–∞ JavaScript –º–æ–∂–µ—Ç –±—ã—Ç—å –ø–æ–ª–µ–∑–Ω–æ–π.

–í —ç—Ç–æ–º —Ä—É–∫–æ–≤–æ–¥—Å—Ç–≤–µ –º—ã —Å–æ–±–∏—Ä–∞–µ–º—Å—è —Ä–∞–∑–±–∏—Ç—å —Å—Ç—Ä–æ–∫—É JavaScript replace () –∏ –∏–∑—É—á–∏—Ç—å, –∫–∞–∫ —Å –µ–µ –ø–æ–º–æ—â—å—é –º–æ–∂–Ω–æ –∏—Å–ø–æ–ª—å–∑–æ–≤–∞—Ç—å –¥–ª—è –∏–∑–º–µ–Ω–µ–Ω–∏—è —Ç–µ–∫—Å—Ç–∞.

–°–∏–Ω—Ç–∞–∫—Å–∏—Å JavaScript Replace ()

–ú–µ—Ç–æ–¥ replace () JavaScript –∏—â–µ—Ç –≤ —Å—Ç—Ä–æ–∫–µ —à–∞–±–ª–æ–Ω –∏–ª–∏ —Ä–µ–≥—É–ª—è—Ä–Ω–æ–µ –≤—ã—Ä–∞–∂–µ–Ω–∏–µ. –ï—Å–ª–∏ —ç—Ç–æ—Ç —à–∞–±–ª–æ–Ω –æ–±–Ω–∞—Ä—É–∂–µ–Ω –≤ —Å—Ç—Ä–æ–∫–µ, –æ–Ω –∑–∞–º–µ–Ω—è–µ—Ç—Å—è —É–∫–∞–∑–∞–Ω–Ω—ã–º –∑–Ω–∞—á–µ–Ω–∏–µ–º. replace () –≤–æ–∑–≤—Ä–∞—â–∞–µ—Ç –Ω–æ–≤—É—é —Å—Ç—Ä–æ–∫—É. –ò—Å—Ö–æ–¥–Ω–∞—è —Å—Ç—Ä–æ–∫–∞ –Ω–µ –∏–∑–º–µ–Ω—è–µ—Ç—Å—è.

–ú–µ—Ç–æ–¥ replace () –ø—Ä–∏–Ω–∏–º–∞–µ—Ç –¥–≤–∞ –∞—Ä–≥—É–º–µ–Ω—Ç–∞:

  • —à–∞–±–ª–æ–Ω –∏–ª–∏ —Ä–µ–≥—É–ª—è—Ä–Ω–æ–µ –≤—ã—Ä–∞–∂–µ–Ω–∏–µ, –∫–æ—Ç–æ—Ä–æ–µ –¥–æ–ª–∂–Ω–∞ –∏—Å–∫–∞—Ç—å replace (); –∏
  • —Å—Ç—Ä–æ–∫–∞, –∫–æ—Ç–æ—Ä–∞—è –¥–æ–ª–∂–Ω–∞ –∑–∞–º–µ–Ω–∏—Ç—å –ª—é–±—ã–µ —ç–∫–∑–µ–º–ø–ª—è—Ä—ã —à–∞–±–ª–æ–Ω–∞, –∫–æ—Ç–æ—Ä—ã–π –≤—ã —É–∫–∞–∑–∞–ª–∏ –≤ –ø–µ—Ä–≤–æ–º –∞—Ä–≥—É–º–µ–Ω—Ç–µ.

–î–∞–≤–∞–π—Ç–µ –≤–∑–≥–ª—è–Ω–µ–º –Ω–∞ —ç—Ç–æ—Ç —Å–∏–Ω—Ç–∞–∫—Å–∏—Å:

–ù–∞—à –ø–µ—Ä–≤—ã–π –∞—Ä–≥—É–º–µ–Ω—Ç, " Pi & rdquo ;, - —ç—Ç–æ —à–∞–±–ª–æ–Ω, —Å–æ–¥–µ—Ä–∂–∏–º–æ–µ –∫–æ—Ç–æ—Ä–æ–≥–æ –º—ã —Ö–æ—Ç–∏–º –∑–∞–º–µ–Ω–∏—Ç—å. –í—Ç–æ—Ä–æ–π –∞—Ä–≥—É–º–µ–Ω—Ç, " P & rdquo ;, - —ç—Ç–æ —Ç–µ–∫—Å—Ç, –∫–æ—Ç–æ—Ä—ã–º –º—ã —Ö–æ—Ç–∏–º –∑–∞–º–µ–Ω–∏—Ç—å –Ω–∞—à —à–∞–±–ª–æ–Ω. –ò—Ç–∞–∫, –Ω–∞—à –∫–æ–¥ –∑–∞–º–µ–Ω—è–µ—Ç " Pi " —Å " P "

81% —É—á–∞—Å—Ç–Ω–∏–∫–æ–≤ –∑–∞—è–≤–∏–ª–∏, —á—Ç–æ –æ–Ω–∏ –ø–æ—á—É–≤—Å—Ç–≤–æ–≤–∞–ª–∏ —Å–µ–±—è –±–æ–ª–µ–µ —É–≤–µ—Ä–µ–Ω–Ω—ã–º–∏ –≤ —Å–≤–æ–∏—Ö –ø–µ—Ä—Å–ø–µ–∫—Ç–∏–≤–∞—Ö —Ç—Ä—É–¥–æ—É—Å—Ç—Ä–æ–π—Å—Ç–≤–∞ –≤ —Å—Ñ–µ—Ä–µ –≤—ã—Å–æ–∫–∏—Ö —Ç–µ—Ö–Ω–æ–ª–æ–≥–∏–π –ø–æ—Å–ª–µ –ø–æ—Å–µ—â–µ–Ω–∏—è —É—á–µ–±–Ω–æ–≥–æ –ª–∞–≥–µ—Ä—è. –ü—Ä–æ–π–¥–∏—Ç–µ —É—á–µ–±–Ω—ã–π –∫—É—Ä—Å —É–∂–µ —Å–µ–≥–æ–¥–Ω—è.

–°—Ä–µ–¥–Ω–∏–π –≤—ã–ø—É—Å–∫–Ω–∏–∫ —É—á–µ–±–Ω–æ–≥–æ –ª–∞–≥–µ—Ä—è –ø–æ—Ç—Ä–∞—Ç–∏–ª –º–µ–Ω–µ–µ —à–µ—Å—Ç–∏ –º–µ—Å—è—Ü–µ–≤ –Ω–∞ –ø–µ—Ä–µ—Ö–æ–¥–Ω—É—é –∫–∞—Ä—å–µ—Ä—É, –æ—Ç –Ω–∞—á–∞–ª–∞ —É—á–µ–±–Ω–æ–≥–æ –ª–∞–≥–µ—Ä—è –¥–æ –ø–æ–∏—Å–∫–∞ —Å–≤–æ–µ–π –ø–µ—Ä–≤–æ–π —Ä–∞–±–æ—Ç—ã.

–ù–∞—à –∫–æ–¥ –ø–µ—á–∞—Ç–∞–µ—Ç " Peter & rdquo. ; –≤ –∫–æ–Ω—Å–æ–ª—å JavaScript . –ù–∞—à –≤—ã–≤–æ–¥ - –Ω–æ–≤–∞—è —Å—Ç—Ä–æ–∫–∞, –ø–æ—Ç–æ–º—É —á—Ç–æ —Å—Ç—Ä–æ–∫–∏ –Ω–µ –º–æ–≥—É—Ç –±—ã—Ç—å –∏–∑–º–µ–Ω–µ–Ω—ã –≤ JavaScript. –û–Ω–∏ –Ω–µ–∏–∑–º–µ–Ω—è–µ–º—ã.

–ú–µ—Ç–æ–¥ replace () –¥–æ–±–∞–≤–ª—è–µ—Ç—Å—è –≤ –∫–æ–Ω–µ—Ü –Ω–∞—à–µ–π —Å—Ç—Ä–æ–∫–∏. –í—ã –Ω–µ –¥–æ–ª–∂–Ω—ã —É–∫–∞–∑—ã–≤–∞—Ç—å —Å—Ç—Ä–æ–∫—É, –∏–∑ –∫–æ—Ç–æ—Ä–æ–π –≤—ã —Ö–æ—Ç–∏—Ç–µ –∑–∞–º–µ–Ω–∏—Ç—å –∑–Ω–∞—á–µ–Ω–∏—è. –¢–æ–ª—å–∫–æ —à–∞–±–ª–æ–Ω, –∫–æ—Ç–æ—Ä—ã–π –≤—ã —Ö–æ—Ç–∏—Ç–µ –Ω–∞–π—Ç–∏, –∏ —Ç–µ–∫—Å—Ç, –∫–æ—Ç–æ—Ä—ã–π –¥–æ–ª–∂–µ–Ω –∑–∞–º–µ–Ω–∏—Ç—å –ª—é–±—ã–µ —ç–∫–∑–µ–º–ø–ª—è—Ä—ã —ç—Ç–æ–≥–æ —à–∞–±–ª–æ–Ω–∞, —è–≤–ª—è—é—Ç—Å—è –¥–æ–ø—É—Å—Ç–∏–º—ã–º–∏ –∞—Ä–≥—É–º–µ–Ω—Ç–∞–º–∏.

replace () –ü—Ä–∏–º–µ—Ä JavaScript

–î–æ–ø—É—Å—Ç–∏–º, –Ω–∞–ø—Ä–∏–º–µ—Ä, –≤—ã —Ö–æ—Ç–∏—Ç–µ –∑–∞–º–µ–Ω–∏—Ç—å —Å–ª–æ–≤–æ –∏–Ω—Ç–µ—Ä–µ—Å–Ω—ã–π –Ω–∞ –∏–Ω—Ç—Ä–∏–≥—É—é—â–∏–π –≤ —Å—Ç—Ä–æ–∫–µ. –ö–∞–∫ –±—ã –≤—ã —ç—Ç–æ —Å–¥–µ–ª–∞–ª–∏? –ú—ã –º–æ–≥–ª–∏ –±—ã –∏—Å–ø–æ–ª—å–∑–æ–≤–∞—Ç—å –º–µ—Ç–æ–¥ replace ():

–ù–∞—à –∫–æ–¥ –≤–æ–∑–≤—Ä–∞—â–∞–µ—Ç –Ω–æ–≤—ã–π —Å—Ç—Ä–æ–∫–∞ —Å–ª–µ–¥—É—é—â–µ–≥–æ –≤–∏–¥–∞:

< p> –í –ø–µ—Ä–≤–æ–π —Å—Ç—Ä–æ–∫–µ –º—ã –æ–±—ä—è–≤–ª—è–µ–º –ø–µ—Ä–µ–º–µ–Ω–Ω—É—é JavaScript —Å –∏–º–µ–Ω–µ–º ourInterestingString. –≠—Ç–∞ –ø–µ—Ä–µ–º–µ–Ω–Ω–∞—è —Å–æ–¥–µ—Ä–∂–∏—Ç –∑–Ω–∞—á–µ–Ω–∏–µ –≠—Ç–∞ —Å—Ç—Ä–æ–∫–∞ –∏–Ω—Ç–µ—Ä–µ—Å–Ω–∞. –ù–∞ –í —Å–ª–µ–¥—É—é—â–µ–π —Å—Ç—Ä–æ–∫–µ –º—ã –∑–∞–º–µ–Ω—è–µ–º —Å–ª–æ–≤–æ –∏–Ω—Ç–µ—Ä–µ—Å–Ω—ã–π –Ω–∞ –∏–Ω—Ç—Ä–∏–≥—É—é—â–∏–π, –∏—Å–ø–æ–ª—å–∑—É—è –º–µ—Ç–æ–¥ JavaScript string replace ().

–ú—ã –º–æ–∂–µ–º –≤–∏–¥–∏—Ç–µ, —á—Ç–æ —Å–ª–æ–≤–æ "–∏–Ω—Ç–µ—Ä–µ—Å–Ω–æ" –±—ã–ª –∑–∞–º–µ–Ω–µ–Ω –Ω–∞ " –∏–Ω—Ç—Ä–∏–≥—É—é—â–∏–π " –≤ –Ω–∞—à–µ–π —Å—Ç—Ä–æ–∫–µ.

JavaScript Replace Multiple Substrings

–ï—Å–ª–∏ –º—ã —Ö–æ—Ç–∏–º –∑–∞–º–µ–Ω–∏—Ç—å –Ω–µ—Å–∫–æ–ª—å–∫–æ —á–∞—Å—Ç–µ–π –Ω–∞—à–µ–π —Å—Ç—Ä–æ–∫–∏, –º—ã –º–æ–∂–µ–º —Å–¥–µ–ª–∞—Ç—å —ç—Ç–æ, —Å–≤—è–∑–∞–≤ –Ω–∞—à—É replace () —Ñ—É–Ω–∫—Ü–∏–∏. –¶–µ–ø–æ—á–∫–∞ –æ–∑–Ω–∞—á–∞–µ—Ç, —á—Ç–æ –º—ã —Ä–∞–∑–º–µ—â–∞–µ–º –Ω–µ—Å–∫–æ–ª—å–∫–æ –æ–ø–µ—Ä–∞—Ç–æ—Ä–æ–≤ replace () –æ–¥–∏–Ω –∑–∞ –¥—Ä—É–≥–∏–º. –í–æ—Ç –ø—Ä–∏–º–µ—Ä:

–ù–∞—à –∫–æ–¥ –≤–æ–∑–≤—Ä–∞—â–∞–µ—Ç —Å–ª–µ–¥—É—é—â–µ–µ:

–ù–∞—à –∫–æ–¥ –∑–∞–º–µ–Ω—è–µ—Ç –≤—Å–µ –≤—Ö–æ–∂–¥–µ–Ω–∏—è —Å–ª–æ–≤ " This ", " string " –∏ " –∏–Ω—Ç–µ—Ä–µ—Å–Ω–æ " —Å–æ —Å–ª–æ–≤–∞–º–∏ " –ù–∞—à ", " code ", " —É–¥–∏–≤–∏—Ç–µ–ª—å–Ω–æ! ", —Å–æ–æ—Ç–≤–µ—Ç—Å—Ç–≤–µ–Ω–Ω–æ. –ó–∞—Ç–µ–º –æ–Ω –∑–∞–º–µ–Ω—è–µ—Ç —Ç—Ä–∏ —Å–ª–æ–≤–∞ —Ç—Ä–µ–º—è –¥—Ä—É–≥–∏–º–∏ –≤ –Ω–∞—à–µ–π —Å—Ç—Ä–æ–∫–µ —Å –ø–æ–º–æ—â—å—é —Ñ—É–Ω–∫—Ü–∏–∏ replace (). & Nbsp;

JavaScript String replace () Using Regex

–†–µ–≥—É–ª—è—Ä–Ω–æ–µ –≤—ã—Ä–∞–∂–µ–Ω–∏–µ –∏–ª–∏ regex (p), –æ–ø—Ä–µ–¥–µ–ª—è–µ—Ç —à–∞–±–ª–æ–Ω –ø–æ–∏—Å–∫–∞. –ö–æ–≥–¥–∞ –≤—ã —Ö–æ—Ç–∏—Ç–µ –Ω–∞–π—Ç–∏ –∏–ª–∏ –∑–∞–º–µ–Ω–∏—Ç—å —Å–∏–º–≤–æ–ª—ã –≤ —Å—Ç—Ä–æ–∫–µ, –º–æ–∂–µ—Ç –æ–∫–∞–∑–∞—Ç—å—Å—è –ø–æ–ª–µ–∑–Ω—ã–º –∏—Å–ø–æ–ª—å–∑–æ–≤–∞–Ω–∏–µ —Ä–µ–≥—É–ª—è—Ä–Ω–æ–≥–æ –≤—ã—Ä–∞–∂–µ–Ω–∏—è. –û–±—ä–µ–∫—Ç—ã Regexp –¥–∞—é—Ç –Ω–∞–º –±–æ–ª—å—à–µ –∫–æ–Ω—Ç—Ä–æ–ª—è –Ω–∞–¥ –Ω–∞—à–µ–π —Ñ—É–Ω–∫—Ü–∏–µ–π replace (), –ø–æ—ç—Ç–æ–º—É –º—ã –º–æ–∂–µ–º –≤—ã–ø–æ–ª–Ω—è—Ç—å –±–æ–ª–µ–µ –∏–Ω—Ç–µ—Ä–µ—Å–Ω—ã–µ –∑–∞–º–µ–Ω—ã.

–í–æ—Ç –ø—Ä–∏–º–µ—Ä –∏—Å–ø–æ–ª—å–∑–æ–≤–∞–Ω–∏—è —Ä–µ–≥—É–ª—è—Ä–Ω–æ–≥–æ –≤—ã—Ä–∞–∂–µ–Ω–∏—è –¥–ª—è –∑–∞–º–µ–Ω—ã –±—É–∫–≤—ã e —Å –±—É–∫–≤–æ–π f:

–í—ã–≤–æ–¥ –Ω–∞—à–µ–≥–æ –∫–æ–¥–∞ –≤—ã–≥–ª—è–¥–∏—Ç —Å–ª–µ–¥—É—é—â–∏–º –æ–±—Ä–∞–∑–æ–º:

–ù–∞—à –∫–æ–¥ —Å–Ω–∞—á–∞–ª–∞ –æ–±—ä—è–≤–ª—è–µ—Ç –ø–µ—Ä–µ–º–µ–Ω–Ω—É—é ourInterestingString –∏ –ø—Ä–∏—Å–≤–∞–∏–≤–∞–µ—Ç –µ–π –∑–Ω–∞—á–µ–Ω–∏–µ –≠—Ç–∞ —Å—Ç—Ä–æ–∫–∞ –∏–Ω—Ç–µ—Ä–µ—Å–Ω–∞. –ó–∞—Ç–µ–º –Ω–∞—à –∫–æ–¥ –∑–∞–º–µ–Ω—è–µ—Ç –∫–∞–∂–¥–æ–µ e –≤ —Å—Ç—Ä–æ–∫–µ –Ω–∞ –±—É–∫–≤—É f, –∏ —Ñ—É–Ω–∫—Ü–∏—è –≤–æ–∑–≤—Ä–∞—â–∞–µ—Ç –Ω–∞—à—É –Ω–æ–≤—É—é —Å—Ç—Ä–æ–∫—É.

–î–ª—è —ç—Ç–æ–≥–æ –º—ã –∏—Å–ø–æ–ª—å–∑—É–µ–º —Ä–µ–≥—É–ª—è—Ä–Ω–æ–µ –≤—ã—Ä–∞–∂–µ–Ω–∏–µ / e / g /. –≠—Ç–æ—Ç —à–∞–±–ª–æ–Ω –∑–∞–º–µ–Ω–∏—Ç –≤—Å–µ e, –≤—Å—Ç—Ä–µ—á–∞—é—â–∏–µ—Å—è –≤ —Ü–µ–ª–∞—è —Å—Ç—Ä–æ–∫–∞ (—á—Ç–æ –æ–∑–Ω–∞—á–∞–µ—Ç g). & nbsp;

–ï—Å–ª–∏ –≤—ã " —Ö–æ—Ç–∏—Ç–µ —É–∑–Ω–∞—Ç—å –±–æ–ª—å—à–µ –æ —Ä–µ–≥—É–ª—è—Ä–Ω–æ–º –≤—ã—Ä–∞–∂–µ–Ω–∏–∏, –æ–∑–Ω–∞–∫–æ–º—å—Ç–µ—Å—å —Å Regexr , —á—Ç–æ –ø–æ–∑–≤–æ–ª—è–µ—Ç –ª–µ–≥–∫–æ –æ–ø—Ä–æ–±–æ–≤–∞—Ç—å —Ä–∞–∑–ª–∏—á–Ω—ã–µ –≤—ã—Ä–∞–∂–µ–Ω–∏—è.

–†–µ–∑—é–º–µ

JavaScript replace () –ø–æ–∑–≤–æ–ª—è–µ—Ç –Ω–∞–º –∑–∞–º–µ–Ω—è—Ç—å –æ–¥–Ω—É —á–∞—Å—Ç—å —Å—Ç—Ä–æ–∫–∏ –¥—Ä—É–≥–æ–π –∏ –≤–æ–∑–≤—Ä–∞—â–∞—Ç—å —Ç–æ–ª—å–∫–æ —á—Ç–æ –∏–∑–º–µ–Ω–µ–Ω–Ω—É—é —Å—Ç—Ä–æ–∫—É. –§—É–Ω–∫—Ü–∏—è Regex () –ø–æ–∑–≤–æ–ª—è–µ—Ç –Ω–∞–º –¥–µ–ª–∞—Ç—å —Ç–æ –∂–µ —Å–∞–º–æ–µ, –Ω–æ —Å –±–æ–ª—å—à–∏–º –∫–æ–Ω—Ç—Ä–æ–ª–µ–º .

–í —ç—Ç–æ–º —Ä—É–∫–æ–≤–æ–¥—Å—Ç–≤–µ –º—ã —Ä–∞–∑–æ–±—Ä–∞–ª–∏, –∫–∞–∫ –∏—Å–ø–æ–ª—å–∑–æ–≤–∞—Ç—å —Ñ—É–Ω–∫—Ü–∏—é JavaScript replace (). –ú—ã —Ç–∞–∫–∂–µ –æ–±—Å—É–¥–∏–ª–∏, –∫–∞–∫ –º–æ–∂–Ω–æ –∏—Å–ø–æ–ª—å–∑–æ–≤–∞—Ç—å —Ä–µ–≥—É–ª—è—Ä–Ω–æ–µ –≤—ã—Ä–∞–∂–µ–Ω–∏–µ –¥–ª—è –≤—ã–ø–æ–ª–Ω–µ–Ω–∏—è –±–æ–ª–µ–µ —Å–ª–æ–∂–Ω—ã—Ö —Ñ—É–Ω–∫—Ü–∏–π –∑–∞–º–µ–Ω—ã –≤ —Å—Ç—Ä–æ–∫–µ.

–ß—Ç–æ–±—ã —É–∑–Ω–∞—Ç—å –±–æ–ª—å—à–µ ab –ß—Ç–æ–±—ã —É–∑–Ω–∞—Ç—å, –∫–∞–∫ –ø–∏—Å–∞—Ç—å –∫–æ–¥ –Ω–∞ —è–∑—ã–∫–µ –ø—Ä–æ–≥—Ä–∞–º–º–∏—Ä–æ–≤–∞–Ω–∏—è JavaScript, –ø—Ä–æ—á–∏—Ç–∞–π—Ç–µ –Ω–∞—à–µ —Ä—É–∫–æ–≤–æ–¥—Å—Ç–≤–æ –ø–æ –∏–∑—É—á–µ–Ω–∏—é JavaScript .

"–ö–∞—Ä—å–µ—Ä–Ω–∞—è –∫–∞—Ä–º–∞ –≤–æ—à–ª–∞ –≤ –º–æ—é –∂–∏–∑–Ω—å, –∫–æ–≥–¥–∞ –º–Ω–µ —ç—Ç–æ –±—ã–ª–æ –Ω—É–∂–Ω–æ –±–æ–ª—å—à–µ –≤—Å–µ–≥–æ, –∏ –±—ã—Å—Ç—Ä–æ –ø–æ–º–æ–≥–ª–∞ –º–Ω–µ —É—Å—Ç—Ä–æ–∏—Ç—å –±—É—Ç–∫–µ–º–ø. –ß–µ—Ä–µ–∑ –¥–≤–∞ –º–µ—Å—è—Ü–∞ –ø–æ—Å–ª–µ –≤—ã–ø—É—Å–∫–∞ —è –Ω–∞—à–ª–∞ —Ä–∞–±–æ—Ç—É —Å–≤–æ–µ–π –º–µ—á—Ç—ã, –∫–æ—Ç–æ—Ä–∞—è —Å–æ–æ—Ç–≤–µ—Ç—Å—Ç–≤–æ–≤–∞–ª–∞ –º–æ–∏–º —Ü–µ–Ω–Ω–æ—Å—Ç—è–º –∏ —Ü–µ–ª—è–º –≤ –∂–∏–∑–Ω–∏! "

–í–µ–Ω–µ—Ä–∞, –∏–Ω–∂–µ–Ω–µ—Ä-–ø—Ä–æ–≥—Ä–∞–º–º–∏—Å—Ç –≤ Rockbot