回答編集履歴
1
回答に追記
answer
CHANGED
@@ -1,1 +1,2 @@
|
|
1
|
+
readonly とはしないで、
|
1
2
|
プロパティとして定義して、set{}をprivateにすればいいかと
|