Right expression of function in JavaScript

Note that the expression in which the function is involved must be to the left of it. If we try to do something to the right of a function, it won't make it a function expression. An example:

javascriptfunction func() { // this is Function Declaration
  console.log('!');
} + 1;

Why so: because in this case this +1 is just a new command written after the function. If you write this command from a new line, everything becomes clearer:

javascriptfunction func() {
  console.log('!');
}
+1; // just a command

Let's make a Function Expression out of our function. For example, put + in front of the function:

javascript+function func() { // this is Function Expression
  console.log('!');
} + 1;

Or let's do the assignment:

javascriptlet test = function func() { // this is Function Expression
  console.log('!');
} + 1;

Or pass as a parameter to console.log:

javascriptconsole.log(function func() { // this is Function Expression
  console.log('!');
} + 1);
Задание 1

Determine if the presented function is a Function Declaration or a Function Expression:

javascriptfunction func() {
  console.log('!');
}
+1;
Задание 2

Determine if the presented function is a Function Declaration or a Function Expression:

javascriptfunction func() {
  console.log('!');
} + 1;
Задание 3

Determine if the presented function is a Function Declaration or a Function Expression:

javascript+function func() {
  console.log('!');
} + 1;
Задание 4

Determine if the presented function is a Function Declaration or a Function Expression:

javascript+
function func() {
  console.log('!');
} + 1;
Задание 5

Determine if the presented function is a Function Declaration or a Function Expression:

javascript+ 1
function func() {
  console.log('!');
} + 1;
Задание 6

Determine if the presented function is a Function Declaration or a Function Expression:

javascriptfunction func() {
  console.log('!');
} + console.log('!');