back tag

14 questions


1 answers
107 views
0
Stack trace of Python application

The program keeps dying, but I can't find where it dies.How do I signal my Python interpreter to find out which code it runs?


1 answers
130 views
0
Node.js callback function question.

var i = 0;function a(callback){ i +=1; callback(i);};setInterval(a((num)=>{ console.log(num);}),1000);The above is the code I made. I expected that it would come out as 1, 2, 3... every second, but...

2 years ago

2 answers
93 views
0
[javascript] Ask the callback function of the sort function

The sort function receives the callback function as a parameter. And depending on what the callback function returns, the sort method is different. I'm asking you a question because I don't understand...


1 answers
130 views
0
Unity Event Trigger > Event Additional Questions.

public void CreateObject() { int randomType = UnityEngine.Random.Range(0, 2); GameObject temp = (GameObject)Instantiate(Resources.Load(Prefabs/Object)); int randomItem; temp.AddComponent<ItemSc...

2 years ago
« - 2 -

© 2024 OneMinuteCode. All rights reserved.