codewars javascript - Triple Trouble - SOLVED IN 3 EASY STEPS!

Опубликовано: 21 Август 2017
на канале: Code Noob
864
6

In this codewars javascript video I'll be taking you step by step in detail how I solved the "Triple Trouble" challenge in 3 easy steps using javascript on codewars .com.

This is a great video for those of you who still have problems using regular expressions.

The steps I took to complete this challenge are as follows(I go into more detail in the video):

STEP 1
Create a loop where [i] is never bigger than 9.

STEP 2
Create regular expressions that will look for triples and doubles

STEP 3
Create an if statement that will check if both regexes return true.

Useful links:

Regex101(brilliant resource for learning and validating your regex): https://goo.gl/tv3ZzZ

test(): https://goo.gl/uGxign


На этой странице сайта вы можете посмотреть видео онлайн codewars javascript - Triple Trouble - SOLVED IN 3 EASY STEPS! длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Code Noob 21 Август 2017, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 864 раз и оно понравилось 6 зрителям. Приятного просмотра!