codewars javascript - Triangle Type - SOLVED IN 4 EASY STEPS!

Опубликовано: 28 Август 2017
на канале: Code Noob
788
8

In this codewars javascript video I'll be taking you step by step in detail how I solved their "Triangle Type" challenge in 4 easy steps using javascript on codewars .com.

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

STEP 1
Check if you can make a triangle.

STEP 2
Find a way to determine the type of triangle on google.(unless you know it already)

STEP 3
Create cases for each of the types.

STEP 4
Set the longest side to always be the same variable.

Useful links:

arguments object: https://goo.gl/GqYABf

spread syntax: https://goo.gl/Nqm4ay

switch statement: https://goo.gl/VvDpxT

Math.pow(): https://goo.gl/eki6Np


На этой странице сайта вы можете посмотреть видео онлайн codewars javascript - Triangle Type - SOLVED IN 4 EASY STEPS! длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Code Noob 28 Август 2017, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 788 раз и оно понравилось 8 зрителям. Приятного просмотра!