Sin descripción

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. {
  2. "title":"const",
  3. "description":"Declares a constant with block level scope",
  4. "spec":"https://www.ecma-international.org/ecma-262/6.0/#sec-let-and-const-declarations",
  5. "status":"other",
  6. "links":[
  7. {
  8. "url":"http://generatedcontent.org/post/54444832868/variables-and-constants-in-es6",
  9. "title":"Variables and Constants in ES6"
  10. },
  11. {
  12. "url":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const",
  13. "title":"MDN Web Docs - const"
  14. }
  15. ],
  16. "bugs":[
  17. ],
  18. "categories":[
  19. "JS"
  20. ],
  21. "stats":{
  22. "ie":{
  23. "5.5":"n",
  24. "6":"n",
  25. "7":"n",
  26. "8":"n",
  27. "9":"n",
  28. "10":"n",
  29. "11":"y"
  30. },
  31. "edge":{
  32. "12":"y",
  33. "13":"y",
  34. "14":"y",
  35. "15":"y",
  36. "16":"y",
  37. "17":"y"
  38. },
  39. "firefox":{
  40. "2":"a #1",
  41. "3":"a #1",
  42. "3.5":"a #1",
  43. "3.6":"a #1",
  44. "4":"a #1",
  45. "5":"a #1",
  46. "6":"a #1",
  47. "7":"a #1",
  48. "8":"a #1",
  49. "9":"a #1",
  50. "10":"a #1",
  51. "11":"a #1",
  52. "12":"a #1",
  53. "13":"a #2",
  54. "14":"a #2",
  55. "15":"a #2",
  56. "16":"a #2",
  57. "17":"a #2",
  58. "18":"a #2",
  59. "19":"a #2",
  60. "20":"a #2",
  61. "21":"a #2",
  62. "22":"a #2",
  63. "23":"a #2",
  64. "24":"a #2",
  65. "25":"a #2",
  66. "26":"a #2",
  67. "27":"a #2",
  68. "28":"a #2",
  69. "29":"a #2",
  70. "30":"a #2",
  71. "31":"a #2",
  72. "32":"a #2",
  73. "33":"a #2",
  74. "34":"a #2",
  75. "35":"a #2",
  76. "36":"y",
  77. "37":"y",
  78. "38":"y",
  79. "39":"y",
  80. "40":"y",
  81. "41":"y",
  82. "42":"y",
  83. "43":"y",
  84. "44":"y",
  85. "45":"y",
  86. "46":"y",
  87. "47":"y",
  88. "48":"y",
  89. "49":"y",
  90. "50":"y",
  91. "51":"y",
  92. "52":"y",
  93. "53":"y",
  94. "54":"y",
  95. "55":"y",
  96. "56":"y",
  97. "57":"y",
  98. "58":"y",
  99. "59":"y",
  100. "60":"y",
  101. "61":"y"
  102. },
  103. "chrome":{
  104. "4":"a #2",
  105. "5":"a #2",
  106. "6":"a #2",
  107. "7":"a #2",
  108. "8":"a #2",
  109. "9":"a #2",
  110. "10":"a #2",
  111. "11":"a #2",
  112. "12":"a #2",
  113. "13":"a #2",
  114. "14":"a #2",
  115. "15":"a #2",
  116. "16":"a #2",
  117. "17":"a #2",
  118. "18":"a #2",
  119. "19":"a #2",
  120. "20":"a #2",
  121. "21":"a #2 #3",
  122. "22":"a #2 #3",
  123. "23":"a #2 #3",
  124. "24":"a #2 #3",
  125. "25":"a #2 #3",
  126. "26":"a #2 #3",
  127. "27":"a #2 #3",
  128. "28":"a #2 #3",
  129. "29":"a #2 #3",
  130. "30":"a #2 #3",
  131. "31":"a #2 #3",
  132. "32":"a #2 #3",
  133. "33":"a #2 #3",
  134. "34":"a #2 #3",
  135. "35":"a #2 #3",
  136. "36":"a #2 #3",
  137. "37":"a #2 #3",
  138. "38":"a #2 #3",
  139. "39":"a #2 #3",
  140. "40":"a #2 #3",
  141. "41":"a #4",
  142. "42":"a #4",
  143. "43":"a #4",
  144. "44":"a #4",
  145. "45":"a #4",
  146. "46":"a #4",
  147. "47":"a #4",
  148. "48":"a #4",
  149. "49":"y",
  150. "50":"y",
  151. "51":"y",
  152. "52":"y",
  153. "53":"y",
  154. "54":"y",
  155. "55":"y",
  156. "56":"y",
  157. "57":"y",
  158. "58":"y",
  159. "59":"y",
  160. "60":"y",
  161. "61":"y",
  162. "62":"y",
  163. "63":"y",
  164. "64":"y",
  165. "65":"y",
  166. "66":"y",
  167. "67":"y"
  168. },
  169. "safari":{
  170. "3.1":"a #2",
  171. "3.2":"a #2",
  172. "4":"a #2",
  173. "5":"a #2",
  174. "5.1":"a #2 #3",
  175. "6":"a #2 #3",
  176. "6.1":"a #2 #3",
  177. "7":"a #2 #3",
  178. "7.1":"a #2 #3",
  179. "8":"a #2 #3",
  180. "9":"a #2 #3",
  181. "9.1":"a #2 #3",
  182. "10":"y",
  183. "10.1":"y",
  184. "11":"y",
  185. "11.1":"y",
  186. "TP":"y"
  187. },
  188. "opera":{
  189. "9":"n",
  190. "9.5-9.6":"n",
  191. "10.0-10.1":"a #1",
  192. "10.5":"a #1",
  193. "10.6":"a #1",
  194. "11":"a #1",
  195. "11.1":"a #1",
  196. "11.5":"a #1",
  197. "11.6":"a #1 #3",
  198. "12":"a #1 #3",
  199. "12.1":"a #1 #3",
  200. "15":"a #2 #3",
  201. "16":"a #2 #3",
  202. "17":"a #2 #3",
  203. "18":"a #2 #3",
  204. "19":"a #2 #3",
  205. "20":"a #2 #3",
  206. "21":"a #2 #3",
  207. "22":"a #2 #3",
  208. "23":"a #2 #3",
  209. "24":"a #2 #3",
  210. "25":"a #2 #3",
  211. "26":"a #2 #3",
  212. "27":"a #2 #3",
  213. "28":"a #4",
  214. "29":"a #4",
  215. "30":"a #4",
  216. "31":"a #4",
  217. "32":"a #4",
  218. "33":"a #4",
  219. "34":"a #4",
  220. "35":"a #4",
  221. "36":"y",
  222. "37":"y",
  223. "38":"y",
  224. "39":"y",
  225. "40":"y",
  226. "41":"y",
  227. "42":"y",
  228. "43":"y",
  229. "44":"y",
  230. "45":"y",
  231. "46":"y",
  232. "47":"y",
  233. "48":"y",
  234. "49":"y",
  235. "50":"y",
  236. "51":"y",
  237. "52":"y"
  238. },
  239. "ios_saf":{
  240. "3.2":"a #2",
  241. "4.0-4.1":"a #2",
  242. "4.2-4.3":"a #2",
  243. "5.0-5.1":"a #2 #3",
  244. "6.0-6.1":"a #2 #3",
  245. "7.0-7.1":"a #2 #3",
  246. "8":"a #2 #3",
  247. "8.1-8.4":"a #2 #3",
  248. "9.0-9.2":"a #2 #3",
  249. "9.3":"a #2 #3",
  250. "10.0-10.2":"y",
  251. "10.3":"y",
  252. "11.0-11.2":"y",
  253. "11.3":"y"
  254. },
  255. "op_mini":{
  256. "all":"a #1 #3"
  257. },
  258. "android":{
  259. "2.1":"u",
  260. "2.2":"u",
  261. "2.3":"a #2",
  262. "3":"a #2 #3",
  263. "4":"a #2 #3",
  264. "4.1":"a #2 #3",
  265. "4.2-4.3":"a #2 #3",
  266. "4.4":"a #2 #3",
  267. "4.4.3-4.4.4":"a #2 #3",
  268. "62":"y"
  269. },
  270. "bb":{
  271. "7":"a #2 #3",
  272. "10":"a #2 #3"
  273. },
  274. "op_mob":{
  275. "10":"a #1",
  276. "11":"a #1",
  277. "11.1":"a #1",
  278. "11.5":"a #1",
  279. "12":"a #1 #3",
  280. "12.1":"a #1 #3",
  281. "37":"y"
  282. },
  283. "and_chr":{
  284. "64":"y"
  285. },
  286. "and_ff":{
  287. "57":"y"
  288. },
  289. "ie_mob":{
  290. "10":"n",
  291. "11":"y"
  292. },
  293. "and_uc":{
  294. "11.8":"y"
  295. },
  296. "samsung":{
  297. "4":"a #4",
  298. "5":"y",
  299. "6.2":"y"
  300. },
  301. "and_qq":{
  302. "1.2":"a #2 #3"
  303. },
  304. "baidu":{
  305. "7.12":"a #4"
  306. }
  307. },
  308. "notes":"",
  309. "notes_by_num":{
  310. "1":"const is recognized, but treated like var (no block scope, can be overwritten)",
  311. "2":"const does not have block scope",
  312. "3":"Only recognized when NOT in strict mode",
  313. "4":"Supported correctly in strict mode, otherwise supported without block scope"
  314. },
  315. "usage_perc_y":89.71,
  316. "usage_perc_a":7.98,
  317. "ucprefix":false,
  318. "parent":"",
  319. "keywords":"ES6,constant,block,scope",
  320. "ie_id":"",
  321. "chrome_id":"4645595339816960",
  322. "firefox_id":"",
  323. "webkit_id":"",
  324. "shown":true
  325. }