Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1 KB

README.md

File metadata and controls

29 lines (17 loc) · 1 KB

Skylab JavaScript jasmine

Synopsis

Write a program to determine if the the parentheses (), the brackets [], and the braces {}, in a string are balanced.

For example:

{{)(}} is not balanced because ) comes before (

({)} is not balanced because ) is not balanced between {} and similarly the { is not balanced between ()

[({})] is balanced

{}([]) is balanced

{()}[[{}]] is balanced

From Balanced Parentheses in Cyber Dojo

Motivation

Practice to code following the test-driven development (tdd) process
Done during the MEAN Stack Skylabcoders Academy bootcamp.