--- id: bd7123c9c444eddfaeb5bdef title: Declare String Variables challengeType: 1 videoUrl: '' localeTitle: Declarar Variáveis ​​de Cadeia --- ## Description
Anteriormente, usamos o código var myName = "your name"; "your name" é chamado literal de string . É uma string porque é uma série de zero ou mais caracteres entre aspas simples ou duplas.
## Instructions
Crie duas novas variáveis ​​de string : myFirstName e myLastName e atribua a elas os valores de seu primeiro e último nome, respectivamente.
## Tests
```yml tests: - text: myFirstName deve ser uma string com pelo menos um caractere. testString: 'assert((function(){if(typeof myFirstName !== "undefined" && typeof myFirstName === "string" && myFirstName.length > 0){return true;}else{return false;}})(), "myFirstName should be a string with at least one character in it.");' - text: myLastName deve ser uma string com pelo menos um caractere. testString: 'assert((function(){if(typeof myLastName !== "undefined" && typeof myLastName === "string" && myLastName.length > 0){return true;}else{return false;}})(), "myLastName should be a string with at least one character in it.");' ```
## Challenge Seed
```js // Example var firstName = "Alan"; var lastName = "Turing"; // Only change code below this line ```
### After Test
```js console.info('after the test'); ```
## Solution
```js // solution required ```