const.json 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. {
  2. "title":"const",
  3. "description":"Declares a constant with block level scope",
  4. "spec":"http://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":"Const (MDN)"
  14. }
  15. ],
  16. "bugs":[
  17. ],
  18. "categories":[
  19. "JS API"
  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. },
  36. "firefox":{
  37. "2":"a #1",
  38. "3":"a #1",
  39. "3.5":"a #1",
  40. "3.6":"a #1",
  41. "4":"a #1",
  42. "5":"a #1",
  43. "6":"a #1",
  44. "7":"a #1",
  45. "8":"a #1",
  46. "9":"a #1",
  47. "10":"a #1",
  48. "11":"a #1",
  49. "12":"a #1",
  50. "13":"a #2",
  51. "14":"a #2",
  52. "15":"a #2",
  53. "16":"a #2",
  54. "17":"a #2",
  55. "18":"a #2",
  56. "19":"a #2",
  57. "20":"a #2",
  58. "21":"a #2",
  59. "22":"a #2",
  60. "23":"a #2",
  61. "24":"a #2",
  62. "25":"a #2",
  63. "26":"a #2",
  64. "27":"a #2",
  65. "28":"a #2",
  66. "29":"a #2",
  67. "30":"a #2",
  68. "31":"a #2",
  69. "32":"a #2",
  70. "33":"a #2",
  71. "34":"a #2",
  72. "35":"a #2",
  73. "36":"y",
  74. "37":"y",
  75. "38":"y",
  76. "39":"y",
  77. "40":"y",
  78. "41":"y",
  79. "42":"y",
  80. "43":"y",
  81. "44":"y",
  82. "45":"y",
  83. "46":"y",
  84. "47":"y",
  85. "48":"y",
  86. "49":"y",
  87. "50":"y",
  88. "51":"y",
  89. "52":"y",
  90. "53":"y"
  91. },
  92. "chrome":{
  93. "4":"a #2",
  94. "5":"a #2",
  95. "6":"a #2",
  96. "7":"a #2",
  97. "8":"a #2",
  98. "9":"a #2",
  99. "10":"a #2",
  100. "11":"a #2",
  101. "12":"a #2",
  102. "13":"a #2",
  103. "14":"a #2",
  104. "15":"a #2",
  105. "16":"a #2",
  106. "17":"a #2",
  107. "18":"a #2",
  108. "19":"a #2",
  109. "20":"a #2",
  110. "21":"a #2 #3",
  111. "22":"a #2 #3",
  112. "23":"a #2 #3",
  113. "24":"a #2 #3",
  114. "25":"a #2 #3",
  115. "26":"a #2 #3",
  116. "27":"a #2 #3",
  117. "28":"a #2 #3",
  118. "29":"a #2 #3",
  119. "30":"a #2 #3",
  120. "31":"a #2 #3",
  121. "32":"a #2 #3",
  122. "33":"a #2 #3",
  123. "34":"a #2 #3",
  124. "35":"a #2 #3",
  125. "36":"a #2 #3",
  126. "37":"a #2 #3",
  127. "38":"a #2 #3",
  128. "39":"a #2 #3",
  129. "40":"a #2 #3",
  130. "41":"a #4",
  131. "42":"a #4",
  132. "43":"a #4",
  133. "44":"a #4",
  134. "45":"a #4",
  135. "46":"a #4",
  136. "47":"a #4",
  137. "48":"a #4",
  138. "49":"y",
  139. "50":"y",
  140. "51":"y",
  141. "52":"y",
  142. "53":"y",
  143. "54":"y",
  144. "55":"y",
  145. "56":"y",
  146. "57":"y"
  147. },
  148. "safari":{
  149. "3.1":"a #2",
  150. "3.2":"a #2",
  151. "4":"a #2",
  152. "5":"a #2",
  153. "5.1":"a #2 #3",
  154. "6":"a #2 #3",
  155. "6.1":"a #2 #3",
  156. "7":"a #2 #3",
  157. "7.1":"a #2 #3",
  158. "8":"a #2 #3",
  159. "9":"a #2 #3",
  160. "9.1":"a #2 #3",
  161. "10":"y",
  162. "TP":"y"
  163. },
  164. "opera":{
  165. "9":"n",
  166. "9.5-9.6":"n",
  167. "10.0-10.1":"a #1",
  168. "10.5":"a #1",
  169. "10.6":"a #1",
  170. "11":"a #1",
  171. "11.1":"a #1",
  172. "11.5":"a #1",
  173. "11.6":"a #1 #3",
  174. "12":"a #1 #3",
  175. "12.1":"a #1 #3",
  176. "15":"a #2 #3",
  177. "16":"a #2 #3",
  178. "17":"a #2 #3",
  179. "18":"a #2 #3",
  180. "19":"a #2 #3",
  181. "20":"a #2 #3",
  182. "21":"a #2 #3",
  183. "22":"a #2 #3",
  184. "23":"a #2 #3",
  185. "24":"a #2 #3",
  186. "25":"a #2 #3",
  187. "26":"a #2 #3",
  188. "27":"a #2 #3",
  189. "28":"a #4",
  190. "29":"a #4",
  191. "30":"a #4",
  192. "31":"a #4",
  193. "32":"a #4",
  194. "33":"a #4",
  195. "34":"a #4",
  196. "35":"a #4",
  197. "36":"y",
  198. "37":"y",
  199. "38":"y",
  200. "39":"y",
  201. "40":"y",
  202. "41":"y",
  203. "42":"y",
  204. "43":"y"
  205. },
  206. "ios_saf":{
  207. "3.2":"a #2",
  208. "4.0-4.1":"a #2",
  209. "4.2-4.3":"a #2",
  210. "5.0-5.1":"a #2 #3",
  211. "6.0-6.1":"a #2 #3",
  212. "7.0-7.1":"a #2 #3",
  213. "8":"a #2 #3",
  214. "8.1-8.4":"a #2 #3",
  215. "9.0-9.2":"a #2 #3",
  216. "9.3":"a #2 #3",
  217. "10-10.1":"y"
  218. },
  219. "op_mini":{
  220. "all":"a #1 #3"
  221. },
  222. "android":{
  223. "2.1":"u",
  224. "2.2":"u",
  225. "2.3":"a #2",
  226. "3":"a #2 #3",
  227. "4":"a #2 #3",
  228. "4.1":"a #2 #3",
  229. "4.2-4.3":"a #2 #3",
  230. "4.4":"a #2 #3",
  231. "4.4.3-4.4.4":"a #2 #3",
  232. "53":"y"
  233. },
  234. "bb":{
  235. "7":"a #2 #3",
  236. "10":"a #2 #3"
  237. },
  238. "op_mob":{
  239. "10":"a #1",
  240. "11":"a #1",
  241. "11.1":"a #1",
  242. "11.5":"a #1",
  243. "12":"a #1 #3",
  244. "12.1":"a #1 #3",
  245. "37":"y"
  246. },
  247. "and_chr":{
  248. "54":"y"
  249. },
  250. "and_ff":{
  251. "50":"y"
  252. },
  253. "ie_mob":{
  254. "10":"n",
  255. "11":"y"
  256. },
  257. "and_uc":{
  258. "11":"a #2 #3"
  259. },
  260. "samsung":{
  261. "4":"a #4"
  262. }
  263. },
  264. "notes":"",
  265. "notes_by_num":{
  266. "1":"const is recognized, but treated like var (no block scope, can be overwritten)",
  267. "2":"const does not have block scope",
  268. "3":"Only recognized when NOT in strict mode",
  269. "4":"Supported correctly in strict mode, otherwise supported without block scope"
  270. },
  271. "usage_perc_y":71.93,
  272. "usage_perc_a":25.12,
  273. "ucprefix":false,
  274. "parent":"",
  275. "keywords":"ES6,constant,block,scope",
  276. "ie_id":"",
  277. "chrome_id":"4645595339816960",
  278. "firefox_id":"",
  279. "webkit_id":"",
  280. "shown":true
  281. }