我正在研究AngularJS.我想调试chrome中的代码.
在Firefox中,我可以在firebug的帮助下调试它.
任何的想法..?谢谢
debugging google-chrome google-chrome-extension google-chrome-devtools angularjs
正如问题所说,我在最后一堂课中有多个决赛字符串,如下所示:
public final class MyStrings {
public static final String stringOne = "this is string one";
public static final String stringTwo = "this is string two";
public static final String stringThree = "this is string three";
public static final String stringFour = "this is string four";
public static final String stringFive = "this is string five";
}
Run Code Online (Sandbox Code Playgroud)
我知道将它们放在列表或数组中会更容易,但我想避免运行时填充这些结构.可能吗?从该类中随机选择字符串的最简单方法是什么?谢谢.