reading-notes

This is my reading notes for Code Fellows.

What is a ‘call’?

. It can be used to invoke (call) a method with an owner object as an argument (parameter). With call() , an object can use a method belonging to another object.

2) How many ‘calls’ can happen at once?

The JavaScript engine has only one call stack so that it only can do one thing at a time. When executing a script, the JavaScript engine executes code from top to bottom, line by line. In other words, it is synchronous

3) What does LIFO mean?

he Last-In, First-Out (LIFO) method assumes that the last unit to arrive in inventory or more recent is sold first.

4) What causes a Stack Overflow?

The most-common cause of stack overflow is excessively deep or infinite recursion, in which a function calls itself so many times that the space needed to store the variables and information associated with each call is more than can fit on the stack.

1) What is a ‘refrence error’?

The ReferenceError object represents an error when a non-existent variable is referenced.

2) What is a ‘syntax error’?

A syntax error in computer science is an error in the syntax of a coding or programming language, entered by a programmer.

3) What is a ‘range error’?

A RangeError is thrown when trying to pass a value as an argument to a function that does not allow a range that includes the value.

4) What is a ‘tyep error’?

TypeError · an operand or argument passed to a function is incompatible with the type expected by that operator or function.

5) What is a breakpoint?

In software development, a breakpoint is an intentional stopping or pausing place in a program, put in place for debugging purposes.

6)What does the word ‘debugger’ do in your code?

Debugging tools (called debuggers) are used to identify coding errors at various development stages

Home