Working with read-only in JavaScript use strict: an Example