A

Admin • 828.03K Points
Coach

Q. The escape sequence ‘f’ stands for _________

  • (A) Form feed
  • (B) f is not present in JavaScript
  • (C) Representation of functions that returns a value
  • (D) Floating numbers
  • Correct Answer - Option(A)
  • Views: 9
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

In JavaScript, the escape sequence f stands for Form Feed. It is a control character used in old printers to signal a page break. However, in modern JavaScript applications, it is rarely used and often ignored by modern browsers and text processors.

Example in JavaScript:

console.log("HellofWorld");

Output (may vary depending on the console):

HelloWorld

(The f may not be visible in many text editors.)

Why Not Other Options?

  • (B) f is not present in JavaScript → ❌ Incorrect (It does exist in JavaScript).
  • (C) Representation of functions that return a value → ❌ Incorrect (f is not related to functions).
  • (D) Floating numbers → ❌ Incorrect (f has nothing to do with floating-point numbers).

Final Answer:

(A) Form feed

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.