T object mutation

Tell us what’s happening:
Tell me what am I doing wrong. I just had to write one thing called object.freeze but it is saying that object is not defined.
Help me

Your browser information:

function freezeObj() {
  'use strict';
  const MATH_CONSTANTS = {
    PI: 3.14
  };
  // Only change code below this line
object.freeze(MATH_CONSTANTS);

  // Only change code above this line
  try {
    MATH_CONSTANTS.PI = 99;
  } catch(ex) {
    console.log(ex);
  }
  return MATH_CONSTANTS.PI;
}
const PI = freezeObj();

I imagine it’s a matter of capitalization, but without challenge link it’s difficult to say


I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Hi @AbdullahX_29,

Keep in mind that JavaScript is case-sensitive.

What does that mean?

But this was not the answer I was looking for.
I said I needed an answer for the “object not defined”

object is in fact not defined

if you look at the challenge description, are you sure it says to use object.freeze()? JavaScript is Case Sensitive

guys it’s nice that you try not to spoiler him, but it’s not really a matter of knowledge, maybe he’s just tired or smething, also, there are many who don’t understand english so well so they don’t know what you mean.
you wrote

but you need to write with a capital o:

SOLUTION REDACTED