- Executores
-
Aprender
Aprender Python Exemplos executáveis, NumPy, pandas e mais Aprender IA / Machine LearningRedes neurais, ML e LLMs do zero Aprender C e C++ Ponteiros, memória, STL e C++ moderno Aprender C#Fundamentos, POO, LINQ, async e exercícios .NET Aprender MatplotlibGráficos de linha, barras, dispersão e pizza com visualizadores Aprender RustOwnership, traits, tratamento de erros e threads Aprender GoSlices, interfaces, goroutines e channels Algoritmos em Python Busca, ordenação, recursão e visualizações O(n) Algoritmos em C e C++ Compare implementações em C e C++ Programação para crianças Aprenda a programar brincando!
- QuizzesNovo
- DesafiosNovo
- Para professoresNovo
- Atualizações
- Me pague um café
Tricky JavaScript Questions
This hard JavaScript quiz goes after the language's strangest corners. You will untangle coercion, parseInt with map, object keys, the temporal dead zone and automatic semicolon insertion, and explain why each result happens.
Pergunta de exemplo
Pergunta 1 de 10What does this print?
console.log([] + {}, typeof ([] + {}));
Mostrar a resposta
B. [object Object] string + with objects converts both sides to primitives: [] becomes "" and {} becomes "[object Object]". One of them is a string, so the result is string concatenation.
O que este quiz cobre
- Coercion of arrays and objects to strings and booleans
map(parseInt)and other argument surprises- Objects used as property keys
- The temporal dead zone of
let - Automatic semicolon insertion after
return
Perguntas frequentes
Preciso de uma conta?
Não. Qualquer pessoa pode jogar. Entre para guardar seu XP, sequência, badges e histórico.
Posso refazer?
Pode. Sua melhor nota fica salva, e as perguntas e respostas são embaralhadas a cada vez.