/javascript-jeopardy

JavaScript Jeopardy Questions

Primary LanguageTypeScript

JavascriptJeopardyApp

Angular

Who is known for saying the term bee's knees? What is Misko Hevery, creator of Angular

How do you comfort a JavaScript bug? You console it.

Why do functions always break up? Because they have constant arguments.

This file hold various metadata relevant to the javascript project we are working on What is package.json?

Need to get data from a web API? This javascript standard-lib function is a great alternative to using XMHttpRequest in the browser.

What is fetch?

Unlike var, this javascript keyword let’s you define a variable that can be modified and respects current block scope.

What is let?

Unlike let, this javascript keyword lets you define a variable that is block-stopped but cannot be modified

What is const?

Put down the coffee, this javascript testing framework released by facebook promises “painless javascript testing”

What is jest?

This code formatter is used by many javascript developers to automatically generate consistent and more readable js code

What is prettier?

V8 is…

A vegetable/fruit juice A vehicle engine with 8 cylinders Chrome’s JavaScript engine

JavaScript (the language) was originally designed by

Douglas Crockford Jeff Cross’ Beard Brendan Eich Yehuda Katz

What is the result of using the typeof operator on an array? typeof [1, 2, 3]

“array” “object” “[object Array]” “#YOLO”

What is "object"?

What is the logged value of foo?

var foo = 1; if (false) {   var foo = 2; } else {   var foo = 3; }

console.log(foo); // ???

  1. var does not use block scope.

In JavaScript, if you add 0.1 + 0.2 the result is:

•0.3 •0.30000000000000004 •0.40000000000000004 •0.4

0.30000000000000004. Storing of floats is done in binary, which results in rounding errors. This actually isn’t unique to JavaScript.

The first Browser Wars were fought between these two browsers.

What is Internet Explorer and Netscape Navigator?

Who is known for saying the term bee's knees?

Who is Misko Hevery?

What do you call a pig that does karate?

What is pork chop?

Promises are async by default.

What is true?

WABT is a library to test this language.

What is WebAssembly?

Q) This decorator should be used to decorate every service in Angular A) What is @Injectable

Q) This is the technology that Observables in RxJS replaces A) what are promises

Q) He is the father of Angular A) Who is Misko Hevery

Q) This is the rxjs operation that you use to convert data in a stream A) what is map

Q) Both @Component and @Injectable are examples of this feature which allows you to mark a class or other construct with metadata A) What are decorators

Q) this is the module that contains important decorators like NgModule and Component A) what is @angular/core

Q) This is the feature of Angular which allows you to format data in a template A) What are pipes

Q) This is the best tech conference on the water A) What is ngCruise

Q) Imports, declarations, and providers are all examples of sections of this decorator A) what is ngModule

Q) This is the command to run the typescript compiler from the command line A) what is "tsc"