11 questions for “Types & Coercion”

Found in 1 field. Select a question to see its full answer.

Matching topics

Information Technology

11 questions in 2 technologies

#QuestionTechnologyTopicLevel
1How does PHP's type coercion behave differently in strict types mode compared to the default coercive mode, and what are the implications for function argument and return type validation? PHP › Basics & TypesPHPBasics & TypesAdvanced
2What makes an object 'iterable' in JavaScript? JavaScript › Iterators & GeneratorsJavaScriptIterators & GeneratorsBeginner
3How do you write a basic generator function? JavaScript › Iterators & GeneratorsJavaScriptIterators & GeneratorsBeginner
4How does JavaScript decide when to free memory used by an object? JavaScript › Memory Management & Garbage CollectionJavaScriptMemory Management & Garbage CollectionBeginner
5Why does 0.1 + 0.2 not equal 0.3 exactly in JavaScript? JavaScript › Numbers, Math & BigIntJavaScriptNumbers, Math & BigIntBeginner
6What does Array.isArray() solve that typeof can't? JavaScript › Arrays & Array MethodsJavaScriptArrays & Array MethodsIntermediate
7How do you format numbers and currency for a locale using Intl.NumberFormat? JavaScript › Date, Time & Internationalization (Intl API)JavaScriptDate, Time & Internationalization (Intl API)Intermediate
8Why does 9007199254740993n + 1 throw a TypeError, but 9007199254740993n + 1n does not? JavaScript › Numbers, Math & BigIntJavaScriptNumbers, Math & BigIntIntermediate
9How can you use destructuring to swap two variables without a temporary variable? JavaScript › Destructuring, Spread & RestJavaScriptDestructuring, Spread & RestAdvanced
10Why is Number.parseFloat('123abc') valid but Number('123abc') returns NaN? JavaScript › Numbers, Math & BigIntJavaScriptNumbers, Math & BigIntAdvanced