Advertisements
Advertisements
प्रश्न
The output of Math.max(−7, Math.min(−5,−4)) is ______.
विकल्प
−5
−4
−7
error
MCQ
रिक्त स्थान भरें
Advertisements
उत्तर
The output of Math.max(−7, Math.min(−5,−4)) is −5.
Explanation:
Math.min(–5,–4) gives –5 and Math.max(–7,–5) gives –5. Math.min() gives the minimum of values and Math.max() gives maximum of two values.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2024-2025 (March) Official Board
