Skip to content

Commit 8259931

Browse files
authored
Update README.md
Replace \*\*Question:\*\*([^ ]) to **Question:** $1
1 parent c05cbf6 commit 8259931

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

README.md

+35-35
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Our Coding bootcamp javascript 2020
88

99
----------
1010

11-
**Question:**Try to fill in the blanks. (Without any changes)
11+
**Question:** Try to fill in the blanks. (Without any changes)
1212
You can add some codes instead of ?????????.
1313
Answer: The output must be true.
1414

@@ -54,7 +54,7 @@ console.log(t2());
5454
Are you familiar with data type and operators?
5555
If you think you are a js expert, think about this:
5656
57-
**Question:**What will the code below output? Explain your answer. (guess the output)
57+
**Question:** What will the code below output? Explain your answer. (guess the output)
5858
5959
```js
6060
console.log(0.1 + 0.2);
@@ -63,7 +63,7 @@ console.log(0.1 + 0.2 == 0.3);
6363
6464
----------
6565
66-
**Question:**Write a add method which will work properly when invoked using either syntax below.
66+
**Question:** Write a add method which will work properly when invoked using either syntax below.
6767
6868
```js
6969
console.log( add(2)(3) ); // Outputs: 5
@@ -75,7 +75,7 @@ console.log( add(6)(6) ); // Outputs: 12
7575
7676
Okay, we go to next step:
7777
78-
**Question:**Write a add method which will work properly when invoked using either syntax below.
78+
**Question:** Write a add method which will work properly when invoked using either syntax below.
7979
8080
```js
8181
console.log( add(0) ); // Outputs: 0
@@ -125,7 +125,7 @@ Guess it.
125125
126126
----------
127127
128-
**Question:**What will the following code output and why?
128+
**Question:** What will the following code output and why?
129129
130130
```js
131131
var b = 1;
@@ -161,7 +161,7 @@ outer();
161161
162162
----------
163163
164-
**Question:**Guess output
164+
**Question:** Guess output
165165
166166
```js
167167
console.log(color);
@@ -170,7 +170,7 @@ const color = '#aaa';
170170
171171
----------
172172
173-
**Question:**Guess output
173+
**Question:** Guess output
174174
175175
```js
176176
console.log(color);
@@ -179,7 +179,7 @@ var color = '#aaa';
179179
180180
----------
181181
182-
**Question:**Guess output
182+
**Question:** Guess output
183183
184184
```js
185185
console.log(color);
@@ -188,7 +188,7 @@ let color = '#aaa';
188188
189189
----------
190190
191-
**Question:**Guess output
191+
**Question:** Guess output
192192
193193
```js
194194
function square(a = 4) {
@@ -200,7 +200,7 @@ console.log( square() );
200200
----------
201201
202202
203-
**Question:**Guess output
203+
**Question:** Guess output
204204
205205
```js
206206
var a=4;
@@ -214,7 +214,7 @@ console.log( square(2) );
214214
----------
215215
216216
217-
**Question:**Guess output
217+
**Question:** Guess output
218218
219219
```js
220220
let a=4;
@@ -228,7 +228,7 @@ console.log( square(2) );
228228
----------
229229
230230
231-
**Question:**Guess output
231+
**Question:** Guess output
232232
233233
```js
234234
const a=4;
@@ -257,7 +257,7 @@ test(true);
257257
----------
258258
259259
260-
**Question:**What will the code below output to the console and why?
260+
**Question:** What will the code below output to the console and why?
261261
262262
263263
```js
@@ -270,7 +270,7 @@ console.log("b defined? " + (typeof b !== 'undefined'));
270270
271271
----------
272272
273-
**Question:**What will the code below output to the console and why?
273+
**Question:** What will the code below output to the console and why?
274274
275275
```js
276276
var myObject = {
@@ -290,7 +290,7 @@ myObject.func();
290290
291291
----------
292292
293-
**Question:**In what order will the numbers 1-4 be logged to the console when the code below is executed? Why?
293+
**Question:** In what order will the numbers 1-4 be logged to the console when the code below is executed? Why?
294294
Guess order and why?
295295
296296
@@ -305,7 +305,7 @@ Guess order and why?
305305
306306
----------
307307
308-
**Question:**Tell output of variables:
308+
**Question:** Tell output of variables:
309309
310310
```js
311311
var a = b = 3;
@@ -316,15 +316,15 @@ var a = b = 3;
316316
What's Palindrome?
317317
A palindrome is a word, number, phrase, or other sequence of characters which reads the same backward as forward, such as madam, racecar. There are also numeric palindromes, including date/time stamps using short digits 11/11/11 11:11 and long digits 02/02/2020.
318318
319-
**Question:**Write a simple function that returns a boolean indicating whether or not a string is a palindrome.
319+
**Question:** Write a simple function that returns a boolean indicating whether or not a string is a palindrome.
320320
321321
Test case:
322322
— level => true
323323
— levels => false
324324
325325
----------
326326
327-
**Question:**guess the `d` value
327+
**Question:** guess the `d` value
328328
329329
```js
330330
var d = {};
@@ -336,7 +336,7 @@ console.log (d)
336336
337337
----------
338338
339-
**Question:**What will the code below output to the console and why ?
339+
**Question:** What will the code below output to the console and why ?
340340
341341
342342
```js
@@ -346,15 +346,15 @@ console.log(1 + "2" + "2");
346346
----------
347347
348348
349-
**Question:**What will the code below output to the console and why ?
349+
**Question:** What will the code below output to the console and why ?
350350
351351
```js
352352
console.log(1 + +"2" + "2");
353353
```
354354
355355
----------
356356
357-
**Question:**What will the code below output to the console and why ?
357+
**Question:** What will the code below output to the console and why ?
358358
359359
360360
```js
@@ -363,7 +363,7 @@ console.log(1 + -"1" + "2");
363363
364364
----------
365365
366-
**Question:**What will the code below output to the console and why ?
366+
**Question:** What will the code below output to the console and why ?
367367
368368
369369
```js
@@ -372,7 +372,7 @@ console.log(+"1" + "1" + "2");
372372
373373
----------
374374
375-
**Question:**What will the code below output to the console and why ?
375+
**Question:** What will the code below output to the console and why ?
376376
377377
378378
```js
@@ -381,7 +381,7 @@ console.log( "A" - "B" + "2");
381381
382382
----------
383383
384-
**Question:**What will the code below output to the console and why ?
384+
**Question:** What will the code below output to the console and why ?
385385
386386
387387
```js
@@ -391,7 +391,7 @@ console.log( "A" - "B" + 2);
391391
----------
392392
393393
394-
**Question:**What will be the output of the following code:
394+
**Question:** What will be the output of the following code:
395395
396396
397397
```js
@@ -403,7 +403,7 @@ for (var i = 0; i < 5; i++) {
403403
----------
404404
405405
406-
**Question:**What is the output out of the following code? Explain your answer.
406+
**Question:** What is the output out of the following code? Explain your answer.
407407
408408
```js
409409
var a={},
@@ -416,23 +416,23 @@ console.log(a[b]);
416416
417417
----------
418418
419-
**Question:**guess output
419+
**Question:** guess output
420420
421421
```js
422422
console.log( + "***" );
423423
```
424424
425425
----------
426426
427-
**Question:**guess output
427+
**Question:** guess output
428428
429429
```js
430430
console.log(- "***" );
431431
```
432432
433433
----------
434434
435-
**Question:**guess output
435+
**Question:** guess output
436436
437437
```js
438438
console.log( new Number(5) == 5);
@@ -442,15 +442,15 @@ console.log( new Number(5) == 5 == "5" == new Number(6));
442442
443443
----------
444444
445-
**Question:**guess output
445+
**Question:** guess output
446446
447447
```js
448448
console.log( new Number(5) === 5);
449449
```
450450
451451
----------
452452
453-
**Question:**guess output
453+
**Question:** guess output
454454
455455
```js
456456
class test {
@@ -462,19 +462,19 @@ g.age
462462
463463
----------
464464
465-
**Question:**guess output
465+
**Question:** guess output
466466
467467
```js
468468
#age=45;
469469
```
470470
471471
----------
472472
473-
**Question:**JavaScript is an OOP scripting language? or no?
473+
**Question:** JavaScript is an OOP scripting language? or no?
474474
475475
----------
476476
477-
**Question:**guess output
477+
**Question:** guess output
478478
479479
```js
480480
p=new Point();
@@ -487,7 +487,7 @@ console.log(p.toString()); //forth answer
487487
488488
----------
489489
490-
**Question:**guess output
490+
**Question:** guess output
491491
492492
```js
493493
0.1 + "0.2"

0 commit comments

Comments
 (0)