Is this a triangle?||Codewars challange||javascript

Published --