content_image/687596.jpg content_image/687597.jpg
With V8, use the String instance methods instead of following generic methods: 

<img src='content_image/687596.jpg'>

Array Generic Methods V8 does not support Array generic methods$^{813}$. Array generics are a set of methods on the Array class that mirror instance methods. 

## Example 

The following use of the generic method Array.every() is invalid with V8: 

var arr = [4, 8, 15, 16, 23, 42]; function isEven (val) { return 0 === val % 2; } var allEven = Array.every(arr, isEven); print(allEven); 

With V8, use the Array instance method every() available through an instance of the Array class instead: 

var allEven = arr.every(isEven); print(allEven); 

With V8, use the Array instance methods instead of the following generic methods: 

<img src='content_image/687597.jpg'>

Array Instance Method toSource() V8 does not support the Array instance method toSource()$^{814}$. Use the Array instance method toString() instead. 

uneval() V8 does not support the non-standard method uneval() . Use the standardized JSON.stringify() 815 method instead. 

Change default JavaScript engine from SpiderMonkey to V8. The change provides improved concurrency for JavaScript operations, modernized JavaScript implementation, and the removal of non-standard SpiderMonkey fea- tures, and affects all JavaScript behavior including the commands mapReduce , group , and eval and the query operator $where . 

